summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zwgc/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/error.h b/zwgc/error.h
index cf987b8..a09fa70 100644
--- a/zwgc/error.h
+++ b/zwgc/error.h
@@ -18,10 +18,10 @@
#define error_MODULE
#include <stdio.h>
+#include <errno.h>
+#include <com_err.h>
-extern int errno;
extern int error_code;
-extern void com_err();
#define FATAL_TRAP(function_call, message) \
{ error_code = (function_call);\