pkgsrc-ng/lang/tcl/patches/patch-unix_tclUnixPort.h
2013-09-26 17:14:40 +02:00

27 lines
606 B
C

$NetBSD: patch-unix_tclUnixPort.h,v 1.2 2013/05/31 20:15:04 adam Exp $
--- unix/tclUnixPort.h.orig 2013-05-31 19:30:55.000000000 +0000
+++ unix/tclUnixPort.h
@@ -121,19 +121,11 @@ typedef off_t Tcl_SeekOffset;
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
-#ifdef NO_LIMITS_H
-# include "../compat/limits.h"
-#else
-# include <limits.h>
-#endif
+#include <limits.h>
#if HAVE_STDINT_H
# include <stdint.h>
#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#else
-# include "../compat/unistd.h"
-#endif
+#include <unistd.h>
extern int TclUnixSetBlockingMode(int fd, int mode);