Bug#890571: libmseed-dev: libmseed.h misses unistd.h on non-Linux
Control: affects -1 src:mseed2sac
libmseed.h's #include directive for <unistd.h> is conditional on
defined(LMP_LINUX) || defined(LMP_BSD) || defined(LMP_SOLARIS)
none of which winds up defined on the Hurd (or even kFreeBSD, seeing
how LMP_BSD is conditionalized). Any halfway modern __unix system
(including in particular all Debian architectures) will have this
header; please #include it more widely.
As it stands, this conditionalization breaks the build of mseed2sac
for hurd-i386  (admittedly not a release architecture):
mseed2sac.c:543:9: warning: implicit declaration of function 'access'; did you mean 'acosl'? [-Wimplicit-function-declaration]
mseed2sac.c:543:26: error: 'F_OK' undeclared (first use in this function)
Could you please take a look?
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://firstname.lastname@example.org