summaryrefslogtreecommitdiffstats
path: root/apps/s_socket.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-07-28 23:25:59 +0000
committerUlf Möller <ulf@openssl.org>1999-07-28 23:25:59 +0000
commit8c197cc55eda97fba9c51254fd0e1da7259ab174 (patch)
tree06dce59bd50795c2f822df8d3ec26a15e6eb7919 /apps/s_socket.c
parent3e3d2ea2fc9e9b702f94d5870f1a0a2f0c4c59f5 (diff)
VMS updates.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r--apps/s_socket.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c
index 45c2939052..888b66df18 100644
--- a/apps/s_socket.c
+++ b/apps/s_socket.c
@@ -56,6 +56,12 @@
* [including the GNU Public Licence.]
*/
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <signal.h>
+
/* With IPv6, it looks like Digital has mixed up the proper order of
recursive header file inclusion, resulting in the compiler complaining
that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which
@@ -65,11 +71,6 @@
typedef unsigned int u_int;
#endif
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <signal.h>
#define USE_SOCKETS
#define NON_MAIN
#include "apps.h"