summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/thread.h')
-rw-r--r--src/pulsecore/thread.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pulsecore/thread.h b/src/pulsecore/thread.h
index a0e331be..4e5425d6 100644
--- a/src/pulsecore/thread.h
+++ b/src/pulsecore/thread.h
@@ -28,9 +28,8 @@
#include <pulse/def.h>
#include <pulsecore/once.h>
-/* We have to include config.h here (for the __tls stuff), which sucks */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
+#ifndef PACKAGE
+#error "Please include config.h before including this file!"
#endif
typedef struct pa_thread pa_thread;