summaryrefslogtreecommitdiff
path: root/rts/PosixSource.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-11 13:33:01 +0000
committerIan Lynagh <igloo@earth.li>2012-02-11 13:33:01 +0000
commit91fe8175711d31332cdc9de23f56f51490269e7c (patch)
treec52b54086893a96b71658942c1aaf10d69f8be45 /rts/PosixSource.h
parent5aaffa6a1b8dadd6a867e4cb98a5a0b7b0452528 (diff)
downloadhaskell-91fe8175711d31332cdc9de23f56f51490269e7c.tar.gz
Add dragonfly support; based on a patch from Goetz Isenmann
Diffstat (limited to 'rts/PosixSource.h')
-rw-r--r--rts/PosixSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/PosixSource.h b/rts/PosixSource.h
index d139dd50af..56e08abb0e 100644
--- a/rts/PosixSource.h
+++ b/rts/PosixSource.h
@@ -11,7 +11,7 @@
#include <ghcplatform.h>
-#if defined(freebsd_HOST_OS)
+#if defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)
#define _POSIX_C_SOURCE 200112L
#define _XOPEN_SOURCE 600
#else