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
commitd101694d97ecb47b75992af2f88b21ae9d34e405 (patch)
treefefebbbd272cb7f62f986569e2e0932fae453e7b /package/wprobe
parentc4385d3282f31e49b2c9d83525ee6a4b838892fd (diff)
downloadupstream-d101694d97ecb47b75992af2f88b21ae9d34e405.tar.gz
upstream-d101694d97ecb47b75992af2f88b21ae9d34e405.tar.bz2
upstream-d101694d97ecb47b75992af2f88b21ae9d34e405.zip
wprobe: fix compile error because of missing isnan()
SVN-Revision: 17468
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>