git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HP-UX traditionally has no sys/select.h
@ 2008-01-24 17:53 Robert Schiele
  2008-01-24 18:03 ` Johannes Schindelin
  2008-01-24 19:11 ` Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Schiele @ 2008-01-24 17:53 UTC (permalink / raw)
  To: git; +Cc: gitster

The select stuff is already in sys/time.h on traditional HP-UX
systems thus we should not include sys/select.h there because older
releases don't have it.
---
 git-compat-util.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/git-compat-util.h b/git-compat-util.h
index b6ef544..77de915 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -68,7 +68,9 @@
 #include <sys/poll.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
+#ifndef __hpux
 #include <sys/select.h>
+#endif
 #include <assert.h>
 #include <regex.h>
 #include <netinet/in.h>
-- 
1.5.2.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-24 19:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 17:53 [PATCH] HP-UX traditionally has no sys/select.h Robert Schiele
2008-01-24 18:03 ` Johannes Schindelin
2008-01-24 18:36   ` Robert Schiele
2008-01-24 19:11 ` Junio C Hamano
2008-01-24 19:39   ` Robert Schiele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).