aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-17 21:26:31 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-17 21:26:31 +0000
commit19c8bf41af47ef55aa65f67793661e86d4fc640d (patch)
tree43ce22a5aeb8aa8b0dda205400d21ffb8ed29b1a /socket.c
parent4f93d4e0b9252227d1b204b4e6fbc85e96df6df0 (diff)
downloadfetchmail-19c8bf41af47ef55aa65f67793661e86d4fc640d.tar.gz
fetchmail-19c8bf41af47ef55aa65f67793661e86d4fc640d.tar.bz2
fetchmail-19c8bf41af47ef55aa65f67793661e86d4fc640d.zip
More portation changes.
svn path=/trunk/; revision=1362
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/socket.c b/socket.c
index ca4f0e16..d881498c 100644
--- a/socket.c
+++ b/socket.c
@@ -7,6 +7,9 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_MEMORY_H
+#include <memory.h>
+#endif /* HAVE_MEMORY_H */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@ -35,10 +38,6 @@
#endif
#endif /* INET_ATON */
-#ifdef SUNOS
-#include <memory.h>
-#endif
-
int SockOpen(char *host, int clientPort)
{
int sock;