-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I get the following warning on NetBSD 1.6.1 when using the minmax module:
In file included from /usr/include/arpa/inet.h:65,
from socket-client.h:27,
from socket-client.c:20:
/usr/include/sys/param.h:222: warning: `MIN' redefined
../lib/minmax.h:50: warning: this is the location of the previous definition
/usr/include/sys/param.h:223: warning: `MAX' redefined
../lib/minmax.h:45: warning: this is the location of the previous definition
source='stack.c' object='stack.o' libtool=no DEPDIR=.deps depmode=gcc
/bin/sh ../build-aux/depcomp gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I../lib -I../diff -I../zlib -Wall -Ino/include -g -O2 -c stack.c
minmax was so nice and small, but would you be willing to add an m4 file
which called AC_CHECK_HEADERS([sys/param.h]) and the following lines to
the beginning of minmax.h?
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
I'll send the complete patch if you approve.
Cheers,
Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFChSRFLD1OTBfyMaQRAiBGAKD99phnBoA8q1KnjRkech6pqE83uQCeK5Ta
EWudGtyfcxUtVRiapxWtWQs=
=DmyC
-----END PGP SIGNATURE-----
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib