diff lwlib/lwlib-Xm.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 0132846995bd
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Mon Aug 13 09:39:46 2007 +0200
+++ b/lwlib/lwlib-Xm.c	Mon Aug 13 09:40:41 2007 +0200
@@ -19,11 +19,16 @@
 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 <stdio.h>
+#ifdef HAVE_LIMITS_H
 #include <limits.h>
+#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #include <X11/StringDefs.h>
 #include <X11/IntrinsicP.h>