{"thread":{"id":"501","subject":"[PATCH] Add #include <limits.h> so that git compiles under Solaris","startedAt":"2005-05-06T13:36:54Z","lastAt":"2005-05-06T13:36:54Z","messageCount":1,"participants":["Thomas Glanzmann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"2666","messageId":"20050506133654.GH11506@cip.informatik.uni-erlangen.de","threadId":"501","inReplyTo":null,"subject":"[PATCH] Add #include <limits.h> so that git compiles under Solaris","fromName":"Thomas Glanzmann","fromEmail":"sithglan@stud.uni-erlangen.de","sentAt":"2005-05-06T13:36:54Z","receivedAt":"2005-05-06T13:36:54Z","isPatch":true,"sender":{"key":"sithglan@stud.uni-erlangen.de","avatar":null},"body":"[PATCH] Add #include <limits.h> so that git compiles under Solaris\n\n--- a/diff-tree-helper.c\n+++ b/diff-tree-helper.c\n@@ -1,6 +1,7 @@\n /*\n  * Copyright (C) 2005 Junio C Hamano\n  */\n+#include <limits.h>\n #include \"cache.h\"\n #include \"strbuf.h\"\n #include \"diff.h\"\n--- a/diff.c\n+++ b/diff.c\n@@ -4,6 +4,7 @@\n #include <sys/types.h>\n #include <sys/wait.h>\n #include <signal.h>\n+#include <limits.h>\n #include \"cache.h\"\n #include \"diff.h\"\n \n--- a/local-pull.c\n+++ b/local-pull.c\n@@ -5,6 +5,7 @@\n #include <unistd.h>\n #include <string.h>\n #include <stdlib.h>\n+#include <limits.h>\n #include \"cache.h\"\n #include \"commit.h\"\n #include <errno.h>\n--- a/sha1_file.c\n+++ b/sha1_file.c\n@@ -7,6 +7,7 @@\n  * creation etc.\n  */\n #include <stdarg.h>\n+#include <limits.h>\n #include \"cache.h\"\n \n const char *sha1_file_directory = NULL;\n"}]}