diff options
Diffstat (limited to 'pkgtools/libnbcompat/files/nbcompat/types.h')
-rw-r--r-- | pkgtools/libnbcompat/files/nbcompat/types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/types.h b/pkgtools/libnbcompat/files/nbcompat/types.h index 1c8ca7bb949..c1d5774e720 100644 --- a/pkgtools/libnbcompat/files/nbcompat/types.h +++ b/pkgtools/libnbcompat/files/nbcompat/types.h @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.2 2008/04/29 05:46:08 martin Exp $ */ +/* $NetBSD: types.h,v 1.3 2008/10/08 14:28:14 joerg Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -37,6 +37,14 @@ #endif /* + * BSD code generally assumes that this types are present, so pull this in + * here for platforms like Mac OS X. + */ +#if HAVE_INTTYPES_H +#include <inttypes.h> +#endif + +/* * Declare macros and functions that may be missing in <sys/types.h>. */ |