From 2b121c02efc13f4b8c6c771b33a2363a21e7757f Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Wed, 3 Feb 2010 17:31:02 +0100 Subject: [PATCH] properly guard the includes Fixes: Bug 604967 - 2.22.3 libasyncns build fails on HP-UX 11.11 * gio/libasyncns/asyncns.c: properly guard the includes of sys/select.h and sys/time.h --- gio/libasyncns/asyncns.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gio/libasyncns/asyncns.c b/gio/libasyncns/asyncns.c index fc94f73..8318333 100644 --- a/gio/libasyncns/asyncns.c +++ b/gio/libasyncns/asyncns.c @@ -28,7 +28,11 @@ #include #include #include + +#ifdef HAVE_SYS_SELECT_H #include +#endif + #include #include #include @@ -40,7 +44,11 @@ #include #include #include + +#ifdef HAVE_SYS_TIME_H #include +#endif + #include #include -- 2.7.4