diff -urpa postgresql-9.3.24.orig/configure.in postgresql-9.3.24/configure.in --- postgresql-9.3.24.orig/configure.in 2018-08-23 19:56:17.313401333 +0000 +++ postgresql-9.3.24/configure.in 2018-08-23 20:17:36.902386926 +0000 @@ -1167,9 +1167,9 @@ fi # for contrib/uuid-ossp if test "$with_ossp_uuid" = yes ; then - AC_CHECK_HEADERS(ossp/uuid.h, [], [ + AC_CHECK_HEADERS(ossp-uuid/uuid.h, [], [ AC_CHECK_HEADERS(uuid.h, [], - [AC_MSG_ERROR([header file or is required for OSSP-UUID])])]) + [AC_MSG_ERROR([header file or is required for OSSP-UUID])])]) fi if test "$PORTNAME" = "win32" ; then diff -urpa postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c --- postgresql-9.3.24.orig/contrib/uuid-ossp/uuid-ossp.c 2018-08-23 19:56:17.179401335 +0000 +++ postgresql-9.3.24/contrib/uuid-ossp/uuid-ossp.c 2018-08-23 21:18:08.165346042 +0000 @@ -20,8 +20,8 @@ * install ossp-uuid from a tarball, it's installed as uuid.h. Don't know * what other systems do. */ -#ifdef HAVE_OSSP_UUID_H -#include +#ifdef HAVE_OSSP_UUID_UUID_H +#include #else #ifdef HAVE_UUID_H #include