diff options
-rw-r--r-- | archivers/rpm/files/patch-misc::glob.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/archivers/rpm/files/patch-misc::glob.h b/archivers/rpm/files/patch-misc::glob.h new file mode 100644 index 000000000000..214f185e4b62 --- /dev/null +++ b/archivers/rpm/files/patch-misc::glob.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- misc/glob.h 2002/09/23 16:45:45 1.1 ++++ misc/glob.h 2002/09/23 16:46:23 +@@ -46,7 +46,7 @@ + #endif /* C++ or ANSI C. */ + + /* We need `size_t' for the following definitions. */ +-#ifndef __size_t ++#if !defined(__size_t) && !defined(_SIZE_T_DECLARED) + # if defined __GNUC__ && __GNUC__ >= 2 + typedef __SIZE_TYPE__ __size_t; + # ifdef _XOPEN_SOURCE |