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

NI_MAXSERV trivial patch

From
PWPatrick Welche <prlw1@newn.cam.ac.uk>
Date
Oct 18, 2007, 17:17 UTC
Message-ID
<20071018171739.GC580@quartz.itdept.newn.cam.ac.uk>
I found I needed

--- daemon.c.orig 2007-09-02 06:57:44.000000000 +0100 +++ daemon.c 2007-10-18 16:04:00.000000000 +0100

@@ -9,6 +9,10 @@
 #define HOST_NAME_MAX 256
 #endif
 
+#ifndef NI_MAXSERV
+#define NI_MAXSERV 32
+#endif
+
 static int log_syslog;
 static int verbose;
 static int reuseaddr;




to compile git, as for me NI_MAXSERV is defined in netdb.h, and it
doesn't seem worthwhile to include the whole header.

Cheers,

Patrick
Message 1 of 1 in “NI_MAXSERV trivial patch”
  1. Patrick WelcheOct 18, 2007

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.