aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/gdbserve.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-08-24 00:58:42 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-08-24 00:58:42 +0000
commit86165efce578a0e5a8c8265a8e668498fab318ea (patch)
tree710c6b6de847bcaf49c42d2340a295dfd57d933a /gdb/nlm/gdbserve.c
parent513d7836d0a4de7a8f6726adfc178ae4f3032baf (diff)
downloadgdb-86165efce578a0e5a8c8265a8e668498fab318ea.zip
gdb-86165efce578a0e5a8c8265a8e668498fab318ea.tar.gz
gdb-86165efce578a0e5a8c8265a8e668498fab318ea.tar.bz2
* nlm/gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets. * nlm/i386.c: include appropriate header files. * nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0 targets.
Diffstat (limited to 'gdb/nlm/gdbserve.c')
-rw-r--r--gdb/nlm/gdbserve.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/gdb/nlm/gdbserve.c b/gdb/nlm/gdbserve.c
index 31a0c6e..9eecc70 100644
--- a/gdb/nlm/gdbserve.c
+++ b/gdb/nlm/gdbserve.c
@@ -66,19 +66,30 @@
*
****************************************************************************/
-#include <nwdfs.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
+#include <errno.h>
+
+#if defined(__netware__) && defined(__i386__)
+#include <dfs.h>
+#include <conio.h>
+#include <advanced.h>
+#include <debugapi.h>
+#include <process.h>
+#else
+#include <nwdfs.h>
#include <nwconio.h>
#include <nwadv.h>
#include <nwdbgapi.h>
-#include <errno.h>
#include <nwthread.h>
+#endif
#include <aio.h>
+
#include "cpu.h"
+
/****************************************************/
/* This information is from Novell. It is not in any of the standard
NetWare header files. */