summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmStandardIncludes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index 224e196..b1dd8ac 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -27,6 +27,10 @@
#include "cmConfigure.h"
#endif
+#if !defined(_WIN32) && defined(__COMO__)
+# define _BSD_SOURCE
+#endif
+
#ifdef _MSC_VER
#pragma warning ( disable : 4786 )
#pragma warning ( disable : 4503 )