aboutsummaryrefslogtreecommitdiff
path: root/src/lpf-priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpf-priv.h')
-rw-r--r--src/lpf-priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpf-priv.h b/src/lpf-priv.h
index c84180a..7b1008d 100644
--- a/src/lpf-priv.h
+++ b/src/lpf-priv.h
@@ -23,6 +23,10 @@
#ifndef _LPF_PRIV_H
#define _LPF_PRIV_H
+#if !defined (LIBPLANFAHR_COMPILATION)
+# error "Only <libplanfahr.h> can be included directly."
+#endif
+
#include <config.h>
#ifdef ENABLE_DEBUG