aboutsummaryrefslogtreecommitdiff
path: root/src/lpf-stop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpf-stop.h')
-rw-r--r--src/lpf-stop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpf-stop.h b/src/lpf-stop.h
index c7a3bbf..aaebb38 100644
--- a/src/lpf-stop.h
+++ b/src/lpf-stop.h
@@ -23,6 +23,10 @@
#ifndef _LPF_STOP_H
#define _LPF_STOP_H
+#if !defined (__LIBPLANFAHR_H_INSIDE__) && !defined (LIBPLANFAHR_COMPILATION)
+# error "Only <libplanfahr.h> can be included directly."
+#endif
+
#include <glib-object.h>
G_BEGIN_DECLS