[glib] Fix build on Solaris 8
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix build on Solaris 8
- Date: Sun, 21 Feb 2010 20:57:44 +0000 (UTC)
commit 6c1a914d511b9a94fbeb3e30d93608c3f537c0a7
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 21 15:55:10 2010 -0500
Fix build on Solaris 8
System header fun. See bug 610131.
configure.in | 2 +-
gio/libasyncns/asyncns.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 258f8f6..2516388 100644
--- a/configure.in
+++ b/configure.in
@@ -875,7 +875,7 @@ fi
# check for header files
AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h grp.h sys/param.h sys/poll.h sys/resource.h])
AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h])
-AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h sched.h malloc.h])
+AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h inttypes.h sched.h malloc.h])
AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
AC_CHECK_HEADERS([sys/uio.h])
diff --git a/gio/libasyncns/asyncns.c b/gio/libasyncns/asyncns.c
index 8318333..155f491 100644
--- a/gio/libasyncns/asyncns.c
+++ b/gio/libasyncns/asyncns.c
@@ -50,7 +50,12 @@
#endif
#include <sys/resource.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]