pkgsrc/lang/tcl85/patches/patch-generic_tclInt.h
taca 3fad68aaee Restore tcl-8.5.15 package as lang/tcl85 with bump PKGREVISION since
x11/ruby-tk package needs tcl/tk 8.5 and it dosen't support tcl/tk 8.6
and later.
2014-03-10 14:20:44 +00:00

29 lines
589 B
C

$NetBSD: patch-generic_tclInt.h,v 1.1 2014/03/10 14:20:44 taca Exp $
Always use <stdilb.h> and <stddef.h>
--- generic/tclInt.h.orig 2012-07-16 11:57:05.000000000 +0000
+++ generic/tclInt.h
@@ -38,21 +38,9 @@
#include <stdio.h>
#include <ctype.h>
-#ifdef NO_STDLIB_H
-# include "../compat/stdlib.h"
-#else
-# include <stdlib.h>
-#endif
-#ifdef NO_STRING_H
-#include "../compat/string.h"
-#else
+#include <stdlib.h>
#include <string.h>
-#endif
-#ifdef STDC_HEADERS
#include <stddef.h>
-#else
-typedef int ptrdiff_t;
-#endif
/*
* Ensure WORDS_BIGENDIAN is defined correctly: