Opened 13 years ago
#211 new defect
htons() portability
Reported by: | kaduk@mit.edu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | internals | Keywords: | |
Cc: |
Description
To get a prototype for htons() on FreeBSD, one needs to include <netinet/in.h> and also (apparently) have BSD_VISIBLE defined for the preprocessor. This affects zephyr.c; I added the include and passed -DBSD_VISIBLE to CPPFLAGS and haven't run into any issues yet. No autoconf patches for this one, either.
Note: See
TracTickets for help on using
tickets.