]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
wg: use proper __linux__ ifdef
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 12 Jun 2017 15:01:23 +0000 (17:01 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 12 Jun 2017 15:02:12 +0000 (17:02 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/genkey.c

index 52aeef5ab7f071a45a4024312a74138d0eb22d01..9a62060294708d525a4371abce4b3efa3efe63b6 100644 (file)
@@ -7,7 +7,7 @@
 #include <sys/stat.h>
 #include <string.h>
 #include <fcntl.h>
-#ifdef __linux
+#ifdef __linux__
 #include <sys/syscall.h>
 #endif