summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index bdb6340..7092840 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.10 2005/09/28 18:31:57 dgp Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.11 2006/03/13 18:19:19 dgp Exp $
*/
#ifndef _UNIXPORT
@@ -37,7 +37,7 @@
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
-#ifdef HAVE_LIMITS_H
+#ifndef NO_LIMITS_H
# include <limits.h>
#else
# include "../compat/limits.h"
@@ -69,7 +69,7 @@
# include <time.h>
# endif
#endif
-#ifdef HAVE_UNISTD_H
+#ifndef NO_UNISTD_H
# include <unistd.h>
#else
# include "../compat/unistd.h"
@@ -120,13 +120,6 @@
#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS)
/*
- * Not all systems declare the errno variable in errno.h. so this
- * file does it explicitly.
- */
-
-extern int errno;
-
-/*
* Define "NBBY" (number of bits per byte) if it's not already defined.
*/