Author: miguel
Date: 2005-04-05 19:52:09 -0400 (Tue, 05 Apr 2005)
New Revision: 42592
Modified:
trunk/mono/support/map.c
Log:
Add properly ifdefed stuff
Modified: trunk/mono/support/map.c
===================================================================
--- trunk/mono/support/map.c 2005-04-05 23:51:47 UTC (rev 42591)
+++ trunk/mono/support/map.c 2005-04-05 23:52:09 UTC (rev 42592)
@@ -14,15 +14,25 @@
#endif /* ndef _XOPEN_SOURCE */
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
+#endif
+#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
+#ifdef HAVE_POLL_H
#include <poll.h>
+#endif
+#ifdef HAVE_GRP_H
#include <grp.h>
+#endif
#include <errno.h>
+#ifdef HAVE_SYSLOG_H
#include <syslog.h>
+#endif
int Mono_Posix_FromError (int x, int *r)
{
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches