1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Fix build on -current (don't redefine __size_t; same code as in proftpd)

This commit is contained in:
Kris Kennaway 2002-10-20 21:19:17 +00:00
parent 0e0d6fdbab
commit 27dc3749e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68436

View File

@ -0,0 +1,11 @@
--- lib/glob.h.orig Sun Oct 20 14:19:39 2002
+++ lib/glob.h Sun Oct 20 14:19:56 2002
@@ -47,7 +47,7 @@
#endif /* C++ or ANSI C. */
/* We need `size_t' for the following definitions. */
-#ifndef __size_t
+#if !defined(__size_t) && !defined(__FreeBSD__)
# if defined __GNUC__ && __GNUC__ >= 2
typedef __SIZE_TYPE__ __size_t;
# else