summaryrefslogtreecommitdiff
path: root/misc/glob.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2005-01-17 23:58:09 +0000
committerjbj <devnull@localhost>2005-01-17 23:58:09 +0000
commit217c588baacf213a4570ee13e27477683baa3e88 (patch)
tree693227cc46d5576aa50746e5a195d5cea0373537 /misc/glob.h
parentcd3d87df20647dc49e9091115a4e78922387ceb0 (diff)
downloadlibrpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.tar.gz
librpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.tar.bz2
librpm-tizen-217c588baacf213a4570ee13e27477683baa3e88.zip
Build on macosx.
CVS patchset: 7701 CVS date: 2005/01/17 23:58:09
Diffstat (limited to 'misc/glob.h')
-rw-r--r--misc/glob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/glob.h b/misc/glob.h
index c0c7b302b..a52d1096c 100644
--- a/misc/glob.h
+++ b/misc/glob.h
@@ -46,7 +46,7 @@ extern "C" {
#endif /* C++ or ANSI C. */
/* We need `size_t' for the following definitions. */
-#ifndef __size_t
+#if !defined(__size_t) && !defined(_BSD_SIZE_T_DEFINED_)
# if defined __GNUC__ && __GNUC__ >= 2
typedef __SIZE_TYPE__ __size_t;
# ifdef _XOPEN_SOURCE