summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/stdlib.h6
-rw-r--r--compat/unistd.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/compat/stdlib.h b/compat/stdlib.h
index 546e5ed..ea66007 100644
--- a/compat/stdlib.h
+++ b/compat/stdlib.h
@@ -13,13 +13,15 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: stdlib.h,v 1.4 2008/05/02 10:28:18 dkf Exp $
+ * RCS: @(#) $Id: stdlib.h,v 1.5 2010/04/20 08:17:26 nijtmans Exp $
*/
#ifndef _STDLIB
#define _STDLIB
-#include <tcl.h>
+#ifndef _TCL
+# include <tcl.h>
+#endif
extern void abort(void);
extern double atof(const char *string);
diff --git a/compat/unistd.h b/compat/unistd.h
index cb9f8c3..396e17c 100644
--- a/compat/unistd.h
+++ b/compat/unistd.h
@@ -10,7 +10,7 @@
* no representations about the suitability of this software for any purpose.
* It is provided "as is" without express or implied warranty.
*
- * RCS: @(#) $Id: unistd.h,v 1.3 2008/05/02 10:28:18 dkf Exp $
+ * RCS: @(#) $Id: unistd.h,v 1.4 2010/04/20 08:17:26 nijtmans Exp $
*/
#ifndef _UNISTD
@@ -18,7 +18,7 @@
#include <sys/types.h>
#ifndef _TCL
-# include "tcl.h"
+# include <tcl.h>
#endif
#ifndef NULL