pkgsrc/sysutils/fam/patches/patch-ab
2007-07-08 23:31:34 +00:00

69 lines
1.9 KiB
Text

$NetBSD: patch-ab,v 1.7 2007/07/08 23:31:35 minskim Exp $
--- config.h.in.orig 2003-01-19 16:40:15.000000000 -0800
+++ config.h.in
@@ -49,9 +49,18 @@
/* Define to 1 if you have the <rpc/rpc.h> header file. */
#undef HAVE_RPC_RPC_H
+/* Define to 1 if you have the <rpc/rpcent.h> header file. */
+#undef HAVE_RPC_RPCENT_H
+
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT
+/* Define to 1 if you have the `sysctlbyname' function. */
+#undef HAVE_SYSCTLBYNAME
+
+/* Define to 1 if you have the `unsetenv' function. */
+#undef HAVE_UNSETENV
+
/* Define to 1 if the system has the type `socklen_t'. */
#undef HAVE_SOCKLEN_T
@@ -76,6 +85,9 @@
/* Define to 1 if `sa_len' is member of `struct sockaddr'. */
#undef HAVE_STRUCT_SOCKADDR_SA_LEN
+/* Define to 1 if `sun_len' is member of `struct sockaddr_un'. */
+#undef HAVE_STRUCT_SOCKADDR_UN_SUN_LEN
+
/* Define to 1 if you have the <syslog.h> header file. */
#undef HAVE_SYSLOG_H
@@ -83,6 +95,9 @@
*/
#undef HAVE_SYS_DIR_H
+/* Define to 1 if you have the <sys/filio.h> header file. */
+#undef HAVE_SYS_FILIO_H
+
/* Define to 1 if you have the <sys/imon.h> header file. */
#undef HAVE_SYS_IMON_H
@@ -120,6 +135,15 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define to 1 if you have the <mntent.h> header file. */
+#undef HAVE_MNTENT_H
+
+/* Define to 1 if you have the <sys/mnttab.h> header file. */
+#undef HAVE_SYS_MNTTAB_H
+
+/* Define to 1 if you have the <sys/sysmacros.h> header file. */
+#undef HAVE_SYS_SYSMACROS_H
+
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
@@ -180,3 +204,9 @@
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
+
+/* Use standard POSIX type if BSD type is not available */
+#if !defined(u_int32_t) && defined(HAVE_INTTYPES_H)
+#include <inttypes.h>
+typedef uint32_t u_int32_t;
+#endif