[PATCH] Solaris needs inclusion of signal.h for signal()
- From
- Dennis Stosberg <dennis@stosberg.net>
- Date
- Jun 26, 2006, 08:26 UTC
- Message-ID
- <20060626082613.G7dd5c243@leonov.stosberg.net>
- In-Reply-To
- <20060626082428.G52c9608e@leonov.stosberg.net>
Currently the compilation fails in connect.c and merge-index.c ---
connect.c | 1 + merge-index.c | 1 + 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 <sys/socket.h> #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"
-- 1.4.0.g64e8