Xinqi Bao's Git

More robust preprocessor switches
[slstatus.git] / components / ip.c
index 8a40cfe..25071e4 100644 (file)
@@ -1,5 +1,5 @@
 /* See LICENSE file for copyright and license details. */
 /* See LICENSE file for copyright and license details. */
-#ifdef __linux__
+#if defined(__linux__)
 #include <err.h>
 #include <ifaddrs.h>
 #include <netdb.h>
 #include <err.h>
 #include <ifaddrs.h>
 #include <netdb.h>