Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2005-04-06 03:52:09 +0400
committerMiguel de Icaza <miguel@gnome.org>2005-04-06 03:52:09 +0400
commitb689a5fb2a84ddcc12b526ebb5a267891f5af59e (patch)
tree175924f15f5d5df719e6432f6c2e4761abf9896a /support
parent3842cfcbb9476276d5592da55625657be2cf0cdd (diff)
Add properly ifdefed stuff
svn path=/trunk/mono/; revision=42592
Diffstat (limited to 'support')
-rw-r--r--support/map.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/support/map.c b/support/map.c
index 432c7447e22..5e364ad1d51 100644
--- a/support/map.c
+++ b/support/map.c
@@ -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)
{