Aaron Dalton wrote:
On FreeBSD5.4-RELEASE I get the following error while building the docs (I'm trying to add Fish to the ports tree):
[...]
cc -O -pipe -Wall -std=gnu99 -fno-strict-aliasing -c -o builtin_help.o builtin_help.c
In file included from builtin_help.c:14:
util.h:518: error: syntax error before "ssize_t"
gmake: *** [builtin_help.o] Error 1
*** Error code 2

Any help would be appreciated.

Add:

#include <sys/types.h>

to util.h, since that's where ssize_t is defined.

I haven't checked through the chain to see why this header inclusion isn't required on other systems (fish builds either way on my Linux box); presumably it's implicitly included by some other headers.

--
http://members.dodo.com.au/~netocrat


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to