summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-16 14:05:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-16 15:33:18 +0200
commit9ffe12e8d9742baf02b08236ed5c4b0de807434a (patch)
tree958226bdb2b1ea6601e9f3ad7af21b2e98136e66 /src/config.h
parent8974dffe025b31ee52ba8873570e4aa125a887e5 (diff)
compat: ensure we can build without compat.h
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index b7a76d0..90912b6 100644
--- a/src/config.h
+++ b/src/config.h
@@ -3,6 +3,8 @@
#ifndef WGCONFIG_H
#define WGCONFIG_H
+#include <linux/compiler.h>
+
struct wireguard_device;
int config_get_device(struct wireguard_device *wg, void __user *udevice);