From 9535bfbeb6a6a698ca4e1619b2d71e16cfd1c9e9 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 23 Sep 2002 16:53:05 +0000 Subject: [PATCH] Fix on -current. --- archivers/rpm/files/patch-misc::glob.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 archivers/rpm/files/patch-misc::glob.h 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