24 lines
719 B
Plaintext
24 lines
719 B
Plaintext
$OpenBSD: patch-cups_http_c,v 1.11 2013/03/19 08:49:14 ajacoutot Exp $
|
|
|
|
Fix build on gcc-2.95 archs.
|
|
|
|
--- cups/http.c.orig Wed Mar 13 17:26:25 2013
|
|
+++ cups/http.c Tue Mar 19 08:15:45 2013
|
|
@@ -1501,6 +1501,8 @@ httpInitialize(void)
|
|
static int initialized = 0; /* Have we been called before? */
|
|
#ifdef WIN32
|
|
WSADATA winsockdata; /* WinSock data */
|
|
+#elif defined(HAVE_SIGACTION)
|
|
+ struct sigaction action; /* POSIX sigaction data */
|
|
#endif /* WIN32 */
|
|
#ifdef HAVE_LIBSSL
|
|
int i; /* Looping var */
|
|
@@ -1527,7 +1529,6 @@ httpInitialize(void)
|
|
sigset(SIGPIPE, SIG_IGN);
|
|
|
|
# elif defined(HAVE_SIGACTION)
|
|
- struct sigaction action; /* POSIX sigaction data */
|
|
|
|
|
|
memset(&action, 0, sizeof(action));
|