summaryrefslogtreecommitdiff
path: root/babl/babl-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'babl/babl-macros.h')
-rw-r--r--babl/babl-macros.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/babl/babl-macros.h b/babl/babl-macros.h
index 7eae084..8de6864 100644
--- a/babl/babl-macros.h
+++ b/babl/babl-macros.h
@@ -19,10 +19,11 @@
#ifndef _BABL_MACROS_H
#define _BABL_MACROS_H
-#ifndef _BABL_H
-#error this file is only to be included by babl.h
+#ifndef BABL_INSIDE_BABL_H
+#error "babl-version.h must not be included directly, include babl.h instead."
#endif
+
#if __GNUC__ >= 4
#define BABL_ARG_NULL_TERMINATED __attribute__((__sentinel__))
#else