aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm/prelude.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlm/prelude.c')
-rw-r--r--gdb/nlm/prelude.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/nlm/prelude.c b/gdb/nlm/prelude.c
index e3207c2..37e12c8 100644
--- a/gdb/nlm/prelude.c
+++ b/gdb/nlm/prelude.c
@@ -12,9 +12,14 @@
= be distributed with CLib.NLM and its headers.
==============================================================================
*/
+
+#include <stddef.h>
+#if defined(__netware__) && defined(__i386__)
+#define TERMINATE_BY_UNLOAD 5
+#else
#include <nwpre.h>
+#endif
/*#include "libhooks.h"*/
-#include <stddef.h>
extern int main (int, char **);