summaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 976c9eac7..0cf4c9e5e 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -126,7 +126,7 @@
#include <semaphore.h>
#include <net/if.h>
#endif
-#if defined(LINUX) || defined(GNU)
+#if defined(__linux__) || defined(GNU)
#include <net/if.h>
#endif
#ifdef SOLARIS