aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix/sys_uds.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-20 15:34:16 +0100
committerSverker Eriksson <[email protected]>2018-03-20 15:34:16 +0100
commit21e71598fddd8483ff0b43eca0a101aa4e3c024a (patch)
tree143e5a5678129827a5c748764eecd95409c53dd9 /erts/emulator/sys/unix/sys_uds.c
parentf4bd7c2d091992e79f61dc66d7a40bf10152a8fc (diff)
parent2bdd0ba8f6046301778ea3673716d8df9fdd42fa (diff)
downloadotp-21e71598fddd8483ff0b43eca0a101aa4e3c024a.tar.gz
otp-21e71598fddd8483ff0b43eca0a101aa4e3c024a.tar.bz2
otp-21e71598fddd8483ff0b43eca0a101aa4e3c024a.zip
Merge branch 'sverker/inline-sys_memcpy'
* sverker/inline-sys_memcpy: erts: Optimize macro DMC_PUSH erts: Make sys_memcpy and friends inline functions
Diffstat (limited to 'erts/emulator/sys/unix/sys_uds.c')
-rw-r--r--erts/emulator/sys/unix/sys_uds.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/erts/emulator/sys/unix/sys_uds.c b/erts/emulator/sys/unix/sys_uds.c
index dd0a3b03ff..278c6b6ba1 100644
--- a/erts/emulator/sys/unix/sys_uds.c
+++ b/erts/emulator/sys/unix/sys_uds.c
@@ -18,6 +18,42 @@
* %CopyrightEnd%
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#if defined(__sun__) && !defined(_XOPEN_SOURCE)
+#define _XOPEN_SOURCE 500
+#endif
+
+#include <limits.h>
+
+#include <sys/types.h>
+#include <sys/socket.h>
+
+#ifdef HAVE_SYS_SOCKETIO_H
+# include <sys/socketio.h>
+#endif
+#ifdef HAVE_SYS_SOCKIO_H
+# include <sys/sockio.h>
+#endif
+
+#ifdef HAVE_NET_ERRNO_H
+#include <net/errno.h>
+#endif
+
+#ifdef HAVE_DIRENT_H
+# include <dirent.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+
#include "sys_uds.h"
int