summaryrefslogtreecommitdiff
path: root/ghc/lib/std/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/lib/std/cbits')
-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>