aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
committerGunter Knauf <gk@gknw.de>2007-06-30 20:08:13 +0000
commitafdfa4bed24c9f937bc49807c6d547ac3a158525 (patch)
tree6ae4f7930b6bde890fd9792f68f19a914e7e14c0 /src/main.c
parent3fc6faf1ae48f15f627ccd4fae92d9c085876d42 (diff)
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 716162126..1869ce16e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,8 +47,13 @@
#define CURLseparator "--_curl_--"
+#ifdef NETWARE
#ifdef __NOVELL_LIBC__
#include <screen.h>
+#else
+#include <nwconio.h>
+#define mkdir mkdir_510
+#endif
#endif
#include "version.h"
@@ -731,7 +736,7 @@ static void help(void)
};
for(i=0; helptext[i]; i++) {
puts(helptext[i]);
-#ifdef __NOVELL_LIBC__
+#ifdef NETWARE
if (i && ((i % 23) == 0))
pressanykey();
#endif