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:
parent
0e0d6fdbab
commit
27dc3749e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68436
11
www/cadaver/files/patch-aa
Normal file
11
www/cadaver/files/patch-aa
Normal 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
|
Loading…
Reference in New Issue
Block a user