aboutsummaryrefslogtreecommitdiffstats
path: root/package/wprobe
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
commit6dc6202a6fddb9e08ac390932911355cd875d969 (patch)
treee0bacb97df99c6481425831147f3017d905d5c8e /package/wprobe
parent748204fa841d1541888021dfa155819d49a70d9e (diff)
downloadupstream-6dc6202a6fddb9e08ac390932911355cd875d969.tar.gz
upstream-6dc6202a6fddb9e08ac390932911355cd875d969.tar.bz2
upstream-6dc6202a6fddb9e08ac390932911355cd875d969.zip
wprobe: fix compile error because of missing isnan()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17468 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wprobe')
-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>