diff lwlib/lwlib-utils.c @ 157:6b37e6ddd302 r20-3b5

Import from CVS: tag r20-3b5
author cvs
date Mon, 13 Aug 2007 09:40:41 +0200
parents 1ce6082ce73f
children 5a88923fcbfe
line wrap: on
line diff
--- a/lwlib/lwlib-utils.c	Mon Aug 13 09:39:46 2007 +0200
+++ b/lwlib/lwlib-utils.c	Mon Aug 13 09:40:41 2007 +0200
@@ -18,10 +18,13 @@
 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+#include <config.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <string.h>
 #include <memory.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include <X11/Xatom.h>
 #include <X11/IntrinsicP.h>