txtinfo: simplify an ifdef
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Nov 2015 13:21:18 +0000 (14:21 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 09:17:20 +0000 (10:17 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/txtinfo/src/olsrd_txtinfo.c

index b24cc04..c394db9 100644 (file)
@@ -49,9 +49,9 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
-#if !defined _WIN32
+#ifndef _WIN32
 #include <sys/select.h>
-#endif /* !defined _WIN32 */
+#endif /* _WIN32 */
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <sys/time.h>