[project @ 2002-10-03 12:43:50 by panne]
authorpanne <unknown>
Thu, 3 Oct 2002 12:43:50 +0000 (12:43 +0000)
committerpanne <unknown>
Thu, 3 Oct 2002 12:43:50 +0000 (12:43 +0000)
Warning police #4: To use uname, we should try to #include
<sys/utsname.h>.

include/HsBase.h

index cc64b4a..a917b96 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: HsBase.h,v 1.14 2002/09/25 15:24:07 simonmar Exp $
+ * $Id: HsBase.h,v 1.15 2002/10/03 12:43:50 panne Exp $
  *
  * (c) The University of Glasgow 2001-2002
  *
@@ -47,6 +47,9 @@
 #ifdef HAVE_UTIME_H
 #include <utime.h>
 #endif
+#ifdef HAVE_SYS_UTSNAME_H
+#include <sys/utsname.h>
+#endif
 #if defined(HAVE_GETTIMEOFDAY)
 #  ifdef HAVE_SYS_TIME_H
 #   include <sys/time.h>