summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/atomic.h')
-rw-r--r--src/pulsecore/atomic.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pulsecore/atomic.h b/src/pulsecore/atomic.h
index 0e3bfb9a..25d600c0 100644
--- a/src/pulsecore/atomic.h
+++ b/src/pulsecore/atomic.h
@@ -37,9 +37,8 @@
* libatomic_ops
*/
-/* We have to include config.h here (for the __sync stuff), which sucks */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
+#ifndef PACKAGE
+#error "Please include config.h before including this file!"
#endif
#ifdef HAVE_ATOMIC_BUILTINS