summaryrefslogtreecommitdiff
path: root/source4/include/system
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/system')
-rw-r--r--source4/include/system/glob.h1
-rw-r--r--source4/include/system/network.h3
-rw-r--r--source4/include/system/wait.h8
3 files changed, 12 insertions, 0 deletions
diff --git a/source4/include/system/glob.h b/source4/include/system/glob.h
index fc56a18b9a..676030b799 100644
--- a/source4/include/system/glob.h
+++ b/source4/include/system/glob.h
@@ -24,3 +24,4 @@
#include <glob.h>
#endif
+#include <fnmatch.h>
diff --git a/source4/include/system/network.h b/source4/include/system/network.h
index d380245865..dfecd59090 100644
--- a/source4/include/system/network.h
+++ b/source4/include/system/network.h
@@ -78,3 +78,6 @@
#define MAXHOSTNAMELEN 254
#endif
+#ifndef HAVE_SOCKLEN_T_TYPE
+typedef int socklen_t;
+#endif
diff --git a/source4/include/system/wait.h b/source4/include/system/wait.h
index 29e5c6fe66..6af01986f9 100644
--- a/source4/include/system/wait.h
+++ b/source4/include/system/wait.h
@@ -23,3 +23,11 @@
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
+
+/*
+ * Define additional missing types
+ */
+#ifndef HAVE_SIG_ATOMIC_T_TYPE
+typedef int sig_atomic_t;
+#endif
+