aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma-method.h')
-rw-r--r--src/libgamma-method.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libgamma-method.h b/src/libgamma-method.h
index e79e893..3fac0da 100644
--- a/src/libgamma-method.h
+++ b/src/libgamma-method.h
@@ -18,6 +18,10 @@
#ifndef LIBGAMMA_METHOD_H
#define LIBGAMMA_METHOD_H
+#if !defined(LIBGAMMA_CONFIG_H) && !defined(DEBUG)
+# error libgamma-method.h should not be included directly, include libgamma.h instead
+#endif
+
#include <stddef.h>
#include <stdint.h>