summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/doxygen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index c5408f0..4aaec34 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -13,6 +13,10 @@
*
*/
+#if !defined(_WIN32) || defined(__CYGWIN__)
+#define _DEFAULT_SOURCE 1
+#endif
+
#include <locale.h>
#include <qfileinfo.h>
@@ -113,10 +117,6 @@ extern void initResources();
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <signal.h>
#define HAS_SIGNALS
-extern "C"
-{
- int killpg(pid_t pgrp, int sig);
-}
#endif
// globally accessible variables