From 91fe8175711d31332cdc9de23f56f51490269e7c Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Sat, 11 Feb 2012 13:33:01 +0000
Subject: Add dragonfly support; based on a patch from Goetz Isenmann

---
 rts/PosixSource.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'rts/PosixSource.h')

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
-- 
cgit v1.2.1