aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/library.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/library.h b/src/libstrongswan/library.h
index 7e76e1927..d357ddf5a 100644
--- a/src/libstrongswan/library.h
+++ b/src/libstrongswan/library.h
@@ -67,6 +67,10 @@
#ifndef LIBRARY_H_
#define LIBRARY_H_
+#ifndef CONFIG_H_INCLUDED
+# error config.h not included, pass "-include [...]/config.h" to gcc
+#endif
+
#include "printf_hook.h"
#include "utils.h"
#include "chunk.h"