aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl/atoms.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libaxl/atoms.h (renamed from libaxl-atoms.h)4
1 files changed, 4 insertions, 0 deletions
diff --git a/libaxl-atoms.h b/libaxl/atoms.h
index 140d769..e41ac74 100644
--- a/libaxl-atoms.h
+++ b/libaxl/atoms.h
@@ -1,5 +1,9 @@
/* See LICENSE file for copyright and license details. */
+#if !defined(LIBAXL_H) || (LIBAXL_H < 2)
+# error Do not include <libaxl/atoms.h> directly, include <libaxl.h> instead.
+#endif
+
#define LIBAXL_ATOM_PRIMARY 1
#define LIBAXL_ATOM_SECONDARY 2
#define LIBAXL_ATOM_ARC 3