Opened 12 years ago

Last modified 10 years ago

#210 new defect

str{,n}casecmp are sometimes in <strings.h>

Reported by: Owned by:
Priority: major Milestone:
Component: internals Keywords:


On, say, FreeBSD, these functions are provided by a separate <strings.h> header, so message.c needs to also include that header when needed. I'm not up to fighting the autoconf battle to add that check right now, though.

Change History (2)

comment:1 Changed 12 years ago by

This also affects zephyr.c, but my fix to #211 pulled in some header pollution that obscured the issue there.

comment:2 Changed 10 years ago by

Can we just replace it with g_ascii_strcasecmp?

Note: See TracTickets for help on using tickets.