summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-02 12:55:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-02 12:55:26 +0000
commitd101694d97ecb47b75992af2f88b21ae9d34e405 (patch)
treefefebbbd272cb7f62f986569e2e0932fae453e7b /package
parentc4385d3282f31e49b2c9d83525ee6a4b838892fd (diff)
downloadmtk-20170518-d101694d97ecb47b75992af2f88b21ae9d34e405.zip
mtk-20170518-d101694d97ecb47b75992af2f88b21ae9d34e405.tar.gz
mtk-20170518-d101694d97ecb47b75992af2f88b21ae9d34e405.tar.bz2
wprobe: fix compile error because of missing isnan()
SVN-Revision: 17468
Diffstat (limited to 'package')
-rw-r--r--package/wprobe/src/user/wprobe-lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/wprobe/src/user/wprobe-lib.c b/package/wprobe/src/user/wprobe-lib.c
index a1a52f2..7ba67cf 100644
--- a/package/wprobe/src/user/wprobe-lib.c
+++ b/package/wprobe/src/user/wprobe-lib.c
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#define _ISOC99_SOURCE
+#define _BSD_SOURCE
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>