diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-11-03 09:36:53 +0800 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-11-03 09:36:53 +0800 |
commit | 3025ac13ca31d3194d942d73928c358118219cc6 (patch) | |
tree | 3ebfb437cac67531abd3f5da24b139596b268c2a /devel/apr | |
parent | fdcd796df8562f2e30f163a73b1d479b4d1f270a (diff) | |
download | freebsd-ports-gnome-3025ac13ca31d3194d942d73928c358118219cc6.tar.gz freebsd-ports-gnome-3025ac13ca31d3194d942d73928c358118219cc6.tar.zst freebsd-ports-gnome-3025ac13ca31d3194d942d73928c358118219cc6.zip |
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
Diffstat (limited to 'devel/apr')
-rw-r--r-- | devel/apr/files/patch-rand.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/apr/files/patch-rand.c b/devel/apr/files/patch-rand.c new file mode 100644 index 000000000000..4d9c982c4c95 --- /dev/null +++ b/devel/apr/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 |