summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-08-17 11:06:58 +0000
committersimonmar <unknown>2001-08-17 11:06:58 +0000
commit37f64a8af0ef525fa971e45f56c68de10c440199 (patch)
treea9b096e00d13e4b40fefad027e365e9954e13f76 /ghc
parent25fda5206d1feee8a010bcaf50a9d78ddd0092a6 (diff)
downloadhaskell-37f64a8af0ef525fa971e45f56c68de10c440199.tar.gz
[project @ 2001-08-17 11:06:58 by simonmar]
include <string.h>
Diffstat (limited to 'ghc')
-rw-r--r--ghc/lib/std/cbits/HsStd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/HsStd.h b/ghc/lib/std/cbits/HsStd.h
index f38013ad6e..5c9e932d7b 100644
--- a/ghc/lib/std/cbits/HsStd.h
+++ b/ghc/lib/std/cbits/HsStd.h
@@ -1,5 +1,5 @@
/* -----------------------------------------------------------------------------
- * $Id: HsStd.h,v 1.3 2001/06/06 11:03:48 simonmar Exp $
+ * $Id: HsStd.h,v 1.4 2001/08/17 11:06:58 simonmar Exp $
*
* Definitions for package `std' which are visible in Haskell land.
*
@@ -31,6 +31,9 @@
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
#if defined(HAVE_GETTIMEOFDAY)
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>