summaryrefslogtreecommitdiff
path: root/databases/xapian-core/files/patch-clang
blob: f9d529872fed7ae789b91ea18789abb4f1cd6494 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- common/safeuuid.h.orig	2013-12-04 08:13:34.000000000 +0800
+++ common/safeuuid.h	2013-12-06 00:04:28.067689030 +0800
@@ -55,6 +55,7 @@
 
 // UUID API on FreeBSD, NetBSD and AIX.
 
+# include <stdlib.h>
 # ifdef _AIX
 /* AIX uses a byte typedef in its <uuid.h> which collides with ours, so use a
  * macro to rename theirs out of the way.