diff options
Diffstat (limited to 'win32/sendmail.h')
-rw-r--r-- | win32/sendmail.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/win32/sendmail.h b/win32/sendmail.h index 751b9d6b34..384bb4bd00 100644 --- a/win32/sendmail.h +++ b/win32/sendmail.h @@ -1,6 +1,8 @@ #if !defined(sendmail_h) /* Sentry, use file only if it's not already included. */ #define sendmail_h +#ifndef NETWARE #include <windows.h> +#endif #define HOST_NAME_LEN 256 #define MAX_APPNAME_LENGHT 100 @@ -42,9 +44,17 @@ char *GetSMErrorText(int index); int MailConnect(); int PostHeader(char *, char *, char *, char *); -int Post(LPCSTR); +#ifndef NETWARE +int Post(LPCSTR msg); +#else +int Post(char *msg); +#endif int Ack(char **server_response); +#ifndef NETWARE unsigned long GetAddr(LPSTR szHost); +#else +unsigned long GetAddr(char * szHost); +#endif |