diff host/infra/assert.cxx @ 126:518f42066aba ecos-sw-2000-09-19

Merge from eCos master repository on 2000-09-19-06:25:26-BST
author jlarmour
date Tue, 19 Sep 2000 05:53:51 +0000
parents 435cced73e2f
children e2d866e32dac
line wrap: on
line diff
--- a/host/infra/assert.cxx
+++ b/host/infra/assert.cxx
@@ -61,6 +61,12 @@
 #include <cstdio>
 #include <cstdlib>
 
+#ifdef __unix__
+extern "C" {
+#include <unistd.h>		// Needed for _exit()
+}
+#endif
+
 // These are needed for the table of callbacks.
 #include <utility>
 #include <iterator>