summaryrefslogtreecommitdiff
path: root/rts/LibdwPool.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-06-01 06:14:00 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-06-01 06:14:00 +1000
commit0676e68cf5fe8696f1f760fef0f35dba14db1104 (patch)
treeeade146204a9d1e64767e3eeb62feb1dbef789da /rts/LibdwPool.c
parent930e74f8f494962745c16a59f156a0ed9f2f1df1 (diff)
downloadhaskell-0676e68cf5fe8696f1f760fef0f35dba14db1104.tar.gz
Fix detection and use of `USE_LIBDW`
Test Plan: Configure/build with and without --enable-libdw Reviewers: trofi, hvr, austin, simonmar, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2276
Diffstat (limited to 'rts/LibdwPool.c')
-rw-r--r--rts/LibdwPool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/LibdwPool.c b/rts/LibdwPool.c
index 2363212eaa..8d065c342d 100644
--- a/rts/LibdwPool.c
+++ b/rts/LibdwPool.c
@@ -10,7 +10,7 @@
#include "RtsUtils.h"
#include "LibdwPool.h"
-#ifdef USE_LIBDW
+#if USE_LIBDW
#include <unistd.h>