summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/macro.h')
-rw-r--r--src/pulsecore/macro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/macro.h b/src/pulsecore/macro.h
index 53e52fd0..c1bdb140 100644
--- a/src/pulsecore/macro.h
+++ b/src/pulsecore/macro.h
@@ -32,6 +32,10 @@
#include <pulsecore/log.h>
+#ifndef PACKAGE
+#error "Please include config.h before including this file!"
+#endif
+
#if defined(PAGE_SIZE)
#define PA_PAGE_SIZE ((size_t) PAGE_SIZE)
#elif defined(PAGESIZE)