summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/libnbcompat/files/nbcompat/types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/files/nbcompat/types.h b/pkgtools/libnbcompat/files/nbcompat/types.h
index c1d5774e720..329b88209bb 100644
--- a/pkgtools/libnbcompat/files/nbcompat/types.h
+++ b/pkgtools/libnbcompat/files/nbcompat/types.h
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.3 2008/10/08 14:28:14 joerg Exp $ */
+/* $NetBSD: types.h,v 1.4 2008/12/14 07:50:49 obache Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -44,6 +44,10 @@
#include <inttypes.h>
#endif
+#if HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
/*
* Declare macros and functions that may be missing in <sys/types.h>.
*/