summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-02 12:55:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-02 12:55:26 +0000
commite31fe7691afe97ab6c2dce0b2bb12dc54fb80b21 (patch)
treee0bacb97df99c6481425831147f3017d905d5c8e
parent07244cdc4fa4c87351dffbdaae4cbd131edf43ef (diff)
wprobe: fix compile error because of missing isnan()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17468 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 a1a52f2054..7ba67cfcb2 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>