[Pidgin] #2608: Including sys/sysctl.h requires sys/param.h on NetBSD.
Pidgin
trac at pidgin.im
Fri Aug 17 12:52:22 EDT 2007
#2608: Including sys/sysctl.h requires sys/param.h on NetBSD.
--------------------------+-------------------------------------------------
Reporter: gdt | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.1.0
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
On NetBSD, including sys/sysctl.h is documented to require sys/param.h.
On FreeBSD, it is documented to require sys/types.h. libpurple/nat-pmp.c
does not include either.
Fix: in configure.ac, check for sys/param.h, and if found include it
before sys/sysctl.h.
Also, include sys/types.h before sys/sysctl.h for FreeBSD (untested).
--
Ticket URL: <http://developer.pidgin.im/ticket/2608>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list