This is mostly for Steve ("configure guy"),

in blob.c readlink() is used, but according to my man pages (and compiler),
we need:

#define _POSIX_C_SOURCE 200112L

(or some greater value - i don't know all the legal values)

before including unistd.h (which is included in config.h).

Assuming that won't break anything else, could i ask you to add that (or
show me how) to the config.h for *nix platforms? readlink() isn't used on
Windows, so we don't need it there.

As it is now, it actually builds fine but complains about implicit
declaration (because missing _POSIX_C_SOURCE), and then just happens to link
because readlink() really is in libc. In -Werror/-pedantic modes it fails,
of course.

:-?

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to