Attached patch is acceptable? any comments? 1. kill __weak_alias in db1 part, same as other part in libnbcompat. (PR#42102, for OpenBSD) 2. No NBBY in Haiku, define as 8 in files/nbcompat/db.h. 3. check libntework for socket in configure (Haiku) 3. check endian.h in configure and use it in files/nbcompat/endian.h (Haiku) 4. check optarg same as optind, it is used in files/nbcompat/unistd.h, but never checked. 5. check optreset with getopt.h in configure, include getopt.h in files/nbcompat/getopt.h, and guard redefinitions, for Interix-6.0 (PR#42379). -- "Of course I love NetBSD":-) OBATA Akio / obache%NetBSD.org@localhost
Attachment:
patch.diff
Description: Binary data