summaryrefslogtreecommitdiff
blob: 2a96229e101f5dc43cda352ad4110f5b7d5ff197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/900326

--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,7 @@ AC_CHECK_FUNCS(_snprintf snprintf)
 	
 AC_MSG_CHECKING(for unaligned long accesses)
 AC_TRY_RUN([
+	#include <stdlib.h>
 	void main(void)
 	{	unsigned char data[sizeof(long)*2];
 		long *ptr;