aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-25 02:30:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commit6cf12d1c694fb6b4aa3f2a8e143f5c9c6fdc9e15 (patch)
tree788b60f64c6ab47b8ddc85c4e0e5a3ddd4a289b9 /src/compat/compat.h
parentqemu: allow for cross compilation (diff)
downloadwireguard-monolithic-historical-6cf12d1c694fb6b4aa3f2a8e143f5c9c6fdc9e15.tar.xz
wireguard-monolithic-historical-6cf12d1c694fb6b4aa3f2a8e143f5c9c6fdc9e15.zip
compat: be sure to include header before testing
Reported-by: Aaron M. D. Jones <aaronmdjones@gmail.com>
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 419710d..e8076db 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -37,6 +37,7 @@
#define headers_end data
#endif
+#include <linux/cache.h>
#ifndef __ro_after_init
#define __ro_after_init __read_mostly
#endif