diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-11-03 01:36:53 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-11-03 01:36:53 +0000 |
commit | db1076e1eae696869e1a602aa1ddfec8b5e0d7d1 (patch) | |
tree | 3a8aa7593876f0660e1e5a5bbf88f27fb4f5ab64 /devel/apr0 | |
parent | add pkg-message: (diff) |
In rand.c, include <uuid.h> (from FreeBSD 5.x and up)
*OR* <uuid/uuid.h> (from e2fsprogs port), not <uuid.h> *AND* <uuid/uuid.h>
PR: ports/88406
Reported by: lofi
Notes
Notes:
svn path=/head/; revision=147062
Diffstat (limited to 'devel/apr0')
-rw-r--r-- | devel/apr0/files/patch-rand.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/apr0/files/patch-rand.c b/devel/apr0/files/patch-rand.c new file mode 100644 index 000000000000..4d9c982c4c95 --- /dev/null +++ b/devel/apr0/files/patch-rand.c @@ -0,0 +1,16 @@ +--- apr-1.2.2/misc/unix/rand.c.orig Wed Nov 2 20:17:10 2005 ++++ apr-1.2.2/misc/unix/rand.c Wed Nov 2 20:17:43 2005 +@@ -35,11 +35,10 @@ + #if APR_HAVE_SYS_UN_H + #include <sys/un.h> + #endif +-#ifdef HAVE_UUID_UUID_H +-#include <uuid/uuid.h> +-#endif + #ifdef HAVE_UUID_H + #include <uuid.h> ++#elif defined(HAVE_UUID_UUID_H) ++#include <uuid/uuid.h> + #endif + + #ifndef SHUT_RDWR |