From 578b76086edb834aa447ce9aed60c585e44e6cc1 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sat, 25 Jun 2011 10:35:25 +0200 Subject: Don't forget to include before . Some operating systems (e.g. FreeBSD) require to be included before , because they depend on type definitions such as int32_t, time_t, etc. Signed-off-by: Ed Schouten Signed-off-by: Alan Coopersmith --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index be90cf3..6d616ae 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,10 @@ AC_CHECK_MEMBERS([ struct utmp.ut_host, struct utmp.ut_id, struct utmp.ut_pid, - struct utmp.ut_type], [], [], [#include ]) + struct utmp.ut_type], [], [], [ + #include + #include + ]) AC_CHECK_MEMBERS([struct utmpx.ut_syslen], [], [], [#include ]) # Checks for library functions. -- cgit v1.2.3