diff src/libsst.c @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 376386a54a3c
children 74fd4e045ea6
line wrap: on
line diff
--- a/src/libsst.c	Mon Aug 13 09:00:04 2007 +0200
+++ b/src/libsst.c	Mon Aug 13 09:02:59 2007 +0200
@@ -18,13 +18,17 @@
 #ifdef emacs
 #include <config.h>
 #include "lisp.h"
-#else
-#if __STDC__ || defined(STDC_HEADERS)
+#endif
+
+#ifdef STDC_HEADERS
 #include <stdlib.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+
 #include <stdio.h>
-#endif
 #include <fcntl.h>
 #include "libsst.h"