[MacPorts] #35153: Postgresql90, Postgresql91 - /usr/include/unistd.h:689:26: error: expected identifier
MacPorts
noreply at macports.org
Thu Jul 12 03:26:26 PDT 2012
#35153: Postgresql90, Postgresql91 - /usr/include/unistd.h:689:26: error: expected
identifier
----------------------------+-----------------------------------------------
Reporter: ilya@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.99
Keywords: mountainlion | Port: Postgresql90, Postgresql91
----------------------------+-----------------------------------------------
Comment(by vince@…):
This is caused by the inclusion of the system uuid.h in pwd.h.
Just add the line :
{{{
#define _XOPEN_SOURCE
}}}
at the first line of uuid-ossp.c, and it should compile fine.
--
Ticket URL: <https://trac.macports.org/ticket/35153#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list