pidgin: 5dc14fb6: Some header inclusion fixes to help on N...
rlaager at pidgin.im
rlaager at pidgin.im
Tue Jun 17 22:15:40 EDT 2008
-----------------------------------------------------------------
Revision: 5dc14fb64fe3a0d62f23d74764445ca9cf498c81
Ancestor: 420b71541a7786d593759ead8d775f487291fb97
Author: rlaager at pidgin.im
Date: 2008-06-18T00:24:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5dc14fb64fe3a0d62f23d74764445ca9cf498c81
Modified files:
configure.ac libpurple/nat-pmp.c
ChangeLog:
Some header inclusion fixes to help on NetBSD/FreeBSD.
Fixes #2608
-------------- next part --------------
============================================================
--- configure.ac e93dfa5cee17b76c4a5783c0804178353fedb8af
+++ configure.ac 3c55c7f6fc93e9f93fccaefc43b14d89fcdb74cb
@@ -2223,9 +2223,11 @@ AC_CHECK_HEADERS(termios.h)
AC_CHECK_HEADERS(termios.h)
# sys/sysctl.h on OpenBSD 4.2 requires sys/param.h
+# sys/sysctl.h on FreeBSD requires sys/types.h
AC_CHECK_HEADERS(sys/param.h)
AC_CHECK_HEADERS(sys/sysctl.h, [], [],
[[
+ #include <sys/types.h>
#ifdef HAVE_PARAM_H
# include <sys/param.h>
#endif
============================================================
--- libpurple/nat-pmp.c f88925cb7dce1f2553f6f8487a787b8fe52543dd
+++ libpurple/nat-pmp.c 76743175ed6081ed531da17fe04fa741397fced7
@@ -35,6 +35,10 @@
#include "signals.h"
#include "network.h"
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
#ifdef HAVE_SYS_SYSCTL_H
#include <sys/sysctl.h>
#endif
More information about the Commits
mailing list