{"thread":{"id":"10365","subject":"NI_MAXSERV trivial patch","startedAt":"2007-10-18T17:17:39Z","lastAt":"2007-10-18T17:17:39Z","messageCount":1,"participants":["Patrick Welche"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"56419","messageId":"20071018171739.GC580@quartz.itdept.newn.cam.ac.uk","threadId":"10365","inReplyTo":null,"subject":"NI_MAXSERV trivial patch","fromName":"Patrick Welche","fromEmail":"prlw1@newn.cam.ac.uk","sentAt":"2007-10-18T17:17:39Z","receivedAt":"2007-10-18T17:17:39Z","isPatch":false,"sender":{"key":"prlw1@newn.cam.ac.uk","avatar":null},"body":"I found I needed\n\n--- daemon.c.orig       2007-09-02 06:57:44.000000000 +0100\n+++ daemon.c    2007-10-18 16:04:00.000000000 +0100\n@@ -9,6 +9,10 @@\n #define HOST_NAME_MAX 256\n #endif\n \n+#ifndef NI_MAXSERV\n+#define NI_MAXSERV 32\n+#endif\n+\n static int log_syslog;\n static int verbose;\n static int reuseaddr;\n\n\n\n\nto compile git, as for me NI_MAXSERV is defined in netdb.h, and it\ndoesn't seem worthwhile to include the whole header.\n\nCheers,\n\nPatrick\n"}]}