summaryrefslogtreecommitdiff
path: root/x11/tk/patches/patch-ae
blob: 4845c16627353de0f5fb7dc247d8d18ed7ffe615 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ae,v 1.1 2005/09/21 14:49:08 joerg Exp $

--- tkUnixPort.h.orig	2005-07-30 21:02:48.000000000 +0000
+++ tkUnixPort.h
@@ -119,12 +119,7 @@
 #endif
 #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;
+#include <errno.h>
 
 /*
  * Define "NBBY" (number of bits per byte) if it's not already defined.