git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] HP-UX traditionally has no sys/select.h

From
Robert Schiele <rschiele@gmail.com>
Date
Jan 24, 2008, 17:53 UTC
Message-ID
<20080124175300.GI30676@schiele.dyndns.org>
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
Next: Johannes Schindelin
Message 1 of 5 in “HP-UX traditionally has no sys/select.h”
  1. HP-UX traditionally has no sys/select.hRobert Schiele, Jan 24, 2008
  2. Johannes SchindelinJan 24, 2008
  3. Robert SchieleJan 24, 2008
  4. Junio C HamanoJan 24, 2008
  5. Robert SchieleJan 24, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.