aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-error.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-21 19:50:49 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-21 19:50:49 +0200
commitf4f7b4579b72cb5c08188ba4edcfa07ae57a3542 (patch)
treee8c02434997b0e9236c3fec367252f9c7928d34f /src/libgamma-error.h
parentadd ./configure (diff)
downloadlibgamma-f4f7b4579b72cb5c08188ba4edcfa07ae57a3542.tar.gz
libgamma-f4f7b4579b72cb5c08188ba4edcfa07ae57a3542.tar.bz2
libgamma-f4f7b4579b72cb5c08188ba4edcfa07ae57a3542.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libgamma-error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libgamma-error.h b/src/libgamma-error.h
index f506955..d17eac8 100644
--- a/src/libgamma-error.h
+++ b/src/libgamma-error.h
@@ -18,6 +18,10 @@
#ifndef LIBGAMMA_ERROR_H
#define LIBGAMMA_ERROR_H
+#if !defined(LIBGAMMA_CONFIG_H) && !defined(DEBUG)
+# error libgamma-error.h should not be included directly, include libgamma.h instead
+#endif
+
/**
* The selected adjustment method does not exist