summaryrefslogtreecommitdiff
path: root/netware/sendmail_nw.h
diff options
context:
space:
mode:
Diffstat (limited to 'netware/sendmail_nw.h')
-rw-r--r--netware/sendmail_nw.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/netware/sendmail_nw.h b/netware/sendmail_nw.h
index d1601fba06..b88f8e12a1 100644
--- a/netware/sendmail_nw.h
+++ b/netware/sendmail_nw.h
@@ -1,12 +1,14 @@
+#define closesocket close
+#define LPCSTR char *
+#define LPSTR char*
+#define FAR
#ifdef USE_WINSOCK
-/*#include <ws2nlm.h>*/
#include <novsock2.h>
#else
#include <sys/socket.h> /* For struct sockaddr, 'PF_INET' and 'AF_INET' */
#include <netinet/in.h> /* For struct sockaddr_in */
#include <netdb.h> /* For struct hostent */
-/*#include <ws2name.h>*/
#endif /* USE_WINSOCK */
typedef int SOCKET; /* Borrowed from winsock\novsock2.h */