mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
*OR* <uuid/uuid.h> (from e2fsprogs port), not <uuid.h> *AND* <uuid/uuid.h> PR: ports/88406 Reported by: lofi
16 lines
371 B
C
16 lines
371 B
C
--- 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
|