projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0e9c2
)
c99_alloca.h: Include stdlib.h on all non-Windows.
author
Vinson Lee
<vlee@freedesktop.org>
Sun, 1 Mar 2015 20:52:00 +0000
(13:52 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 2 Mar 2015 16:26:36 +0000
(09:26 -0700)
Fix build on FreeBSD.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Tested-by: Brian Paul <brianp@vmware.com>
include/c99_alloca.h
patch
|
blob
|
history
diff --git
a/include/c99_alloca.h
b/include/c99_alloca.h
index 7a81c50e0d7f499ec62f91538157fe4446a273c6..575f719af87acdb97be540f03068360fc2587132 100644
(file)
--- a/
include/c99_alloca.h
+++ b/
include/c99_alloca.h
@@
-35,13
+35,9
@@
# define alloca _alloca
-#elif defined(__MINGW32__)
-
-# include <malloc.h>
-
#else /* !defined(_MSC_VER) */
-# include <
alloca
.h>
+# include <
stdlib
.h>
#endif /* !defined(_MSC_VER) */