summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.h.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index b6532b13..86b4acb0 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -243,6 +243,11 @@
/* whether -export-dynamic was passed to libtool */
#cmakedefine DBUS_BUILT_R_DYNAMIC 1
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+#cmakedefine _GNU_SOURCE 1
+#endif
+
// structs
/* Define to 1 if you have struct cmsgred */
#cmakedefine HAVE_CMSGCRED 1