[PATCH] HP-UX does not have select.h
- From
H.Merijn Brand <h.m.brand@xs4all.nl>
- Date
- Dec 17, 2007, 18:23 UTC
- Message-ID
- <20071217192306.5da48540@pc09.procura.nl>
HP-UX does not have select.h, but it offers all select () functionality. The defines are in <sys/types.h> and <X11/fd.h>
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl> ---
diff -pur git-2007-12-10_01/git-compat-util.h git-2007-12-10/git-compat-util.h --- git-2007-12-10_01/git-compat-util.h 2007-12-09 10:23:48 +0100 +++ git-2007-12-10/git-compat-util.h 2007-12-10 14:25:26 +0100
@@ -68,7 +68,9 @@ #include <sys/poll.h> #include <sys/socket.h> #include <sys/ioctl.h> +#ifndef _HPUX_SOURCE #include <sys/select.h> +#endif #include <assert.h> #include <regex.h> #include <netinet/in.h>
--
git-2007-12-17
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org
http://www.goldmark.org/jeff/stupid-disclaimers/