aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-06-26 10:26:13 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-26 02:11:44 -0700
commite898081dfbedcb77e3dfcdc9c347669f6c093d65 (patch)
treebd5e794df8b3826957310088c5f2a2fb140d5177
parent3acb27b6a4bd98dd58c1c17234b9b53ce0d78454 (diff)
downloadgit-e898081dfbedcb77e3dfcdc9c347669f6c093d65.tar.gz
git-e898081dfbedcb77e3dfcdc9c347669f6c093d65.tar.xz
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 db7342e4d..66e78a290 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 190e12fb7..0498a6f45 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"