summaryrefslogtreecommitdiff
path: root/audio/flac/patches/patch-ay
blob: e329fbdb62c40c2d0696b4b573e7e1f18540a0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ay,v 1.1 2008/12/29 05:36:40 obache Exp $

--- include/share/alloc.h.orig	2007-09-12 05:32:21.000000000 +0000
+++ include/share/alloc.h
@@ -29,8 +29,10 @@
 
 #include <limits.h> /* for SIZE_MAX */
 #if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
+#ifdef HAVE_STDINT_H
 #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
 #endif
+#endif
 #include <stdlib.h> /* for size_t, malloc(), etc */
 
 #ifndef SIZE_MAX