summaryrefslogtreecommitdiff
path: root/lang/tcl83/patches/patch-ag
blob: 60ace9bd8d59394ef3d1d03e47c2d9953527ee18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.3 2009/12/17 18:35:27 abs Exp $

--- unix/tclUnixPort.h.orig	2001-09-04 22:26:49.000000000 +0000
+++ unix/tclUnixPort.h
@@ -417,7 +417,9 @@ EXTERN int		gettimeofday _ANSI_ARGS_((st
  * isn't generally declared in a header file anywhere.
  */
 
+#ifndef errno
 extern int errno;
+#endif
 
 /*
  * Variables provided by the C library: