dd310005da
Thanks to landry@ for the bulk testing.
24 lines
717 B
Plaintext
24 lines
717 B
Plaintext
$OpenBSD: patch-cups_http_c,v 1.7 2011/09/08 10:33:12 ajacoutot Exp $
|
|
|
|
fix build on gcc-2.95 archs
|
|
|
|
--- cups/http.c.orig Thu Jun 16 22:12:16 2011
|
|
+++ cups/http.c Fri Sep 2 09:33:11 2011
|
|
@@ -1469,6 +1469,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 */
|
|
@@ -1495,7 +1497,6 @@ httpInitialize(void)
|
|
sigset(SIGPIPE, SIG_IGN);
|
|
|
|
# elif defined(HAVE_SIGACTION)
|
|
- struct sigaction action; /* POSIX sigaction data */
|
|
|
|
|
|
memset(&action, 0, sizeof(action));
|