aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl86/files/patch-unix-tclUnixPort.h
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-01-29 03:06:56 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-01-29 03:06:56 +0000
commit9e890b7d7d71f6432a5b164b5903107abb1976c5 (patch)
tree7780fd26851c204d40b76c3b331abdb8cbbae93b /lang/tcl86/files/patch-unix-tclUnixPort.h
parentdcd95a94e8b32323bd029b15deec45ab90f7c4c8 (diff)
Notes
Diffstat (limited to 'lang/tcl86/files/patch-unix-tclUnixPort.h')
-rw-r--r--lang/tcl86/files/patch-unix-tclUnixPort.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/tcl86/files/patch-unix-tclUnixPort.h b/lang/tcl86/files/patch-unix-tclUnixPort.h
new file mode 100644
index 000000000000..7a4f70a917d2
--- /dev/null
+++ b/lang/tcl86/files/patch-unix-tclUnixPort.h
@@ -0,0 +1,12 @@
+--- tclUnixPort.h.orig Wed Jan 17 13:14:18 2007
++++ tclUnixPort.h Wed Jan 17 13:08:39 2007
+@@ -628,6 +628,9 @@
+ EXTERN struct tm * TclpLocaltime(CONST time_t *);
+ EXTERN struct tm * TclpGmtime(CONST time_t *);
+ EXTERN char * TclpInetNtoa(struct in_addr);
++#ifdef inet_ntoa
++# undef inet_ntoa
++#endif
+ /* #define localtime(x) TclpLocaltime(x)
+ * #define gmtime(x) TclpGmtime(x) */
+ # undef inet_ntoa