summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-06-26 08:26:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-26 09:11:44 (GMT)
commite898081dfbedcb77e3dfcdc9c347669f6c093d65 (patch)
treebd5e794df8b3826957310088c5f2a2fb140d5177
parent3acb27b6a4bd98dd58c1c17234b9b53ce0d78454 (diff)
downloadgit-e898081dfbedcb77e3dfcdc9c347669f6c093d65.zip
git-e898081dfbedcb77e3dfcdc9c347669f6c093d65.tar.gz
git-e898081dfbedcb77e3dfcdc9c347669f6c093d65.tar.bz2
Solaris needs inclusion of signal.h for signal()
Currently the compilation fails in connect.c and merge-index.c Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--connect.c1
-rw-r--r--merge-index.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/connect.c b/connect.c
index db7342e..66e78a2 100644
--- a/connect.c
+++ b/connect.c
@@ -8,6 +8,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <signal.h>
static char *server_capabilities = NULL;
diff --git a/merge-index.c b/merge-index.c
index 190e12f..0498a6f 100644
--- a/merge-index.c
+++ b/merge-index.c
@@ -1,5 +1,6 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include <signal.h>
#include "cache.h"