aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-06-12 17:01:23 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-06-12 17:02:12 +0200
commitb241ac6fbb72cdb7b4ee120b1a5d4df77d840f5b (patch)
tree9fdb20ba7fa1c863df14a8c19fa4074cbb6406b1
parentrandom: wait for random bytes when generating nonces and ephemerals (diff)
downloadwireguard-monolithic-historical-b241ac6fbb72cdb7b4ee120b1a5d4df77d840f5b.tar.xz
wireguard-monolithic-historical-b241ac6fbb72cdb7b4ee120b1a5d4df77d840f5b.zip
tools: use proper __linux__ ifdef
-rw-r--r--src/tools/genkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/genkey.c b/src/tools/genkey.c
index 52aeef5..9a62060 100644
--- a/src/tools/genkey.c
+++ b/src/tools/genkey.c
@@ -7,7 +7,7 @@
#include <sys/stat.h>
#include <string.h>
#include <fcntl.h>
-#ifdef __linux
+#ifdef __linux__
#include <sys/syscall.h>
#endif