24 lines
717 B
Plaintext
24 lines
717 B
Plaintext
$OpenBSD: patch-cups_http_c,v 1.5 2010/07/13 13:02:47 ajacoutot Exp $
|
|
|
|
fix build on gcc-2.95 archs
|
|
|
|
--- cups/http.c.orig Tue Jul 13 10:38:54 2010
|
|
+++ cups/http.c Tue Jul 13 10:39:51 2010
|
|
@@ -1191,6 +1191,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 */
|
|
@@ -1213,7 +1215,6 @@ httpInitialize(void)
|
|
sigset(SIGPIPE, SIG_IGN);
|
|
|
|
# elif defined(HAVE_SIGACTION)
|
|
- struct sigaction action; /* POSIX sigaction data */
|
|
|
|
|
|
memset(&action, 0, sizeof(action));
|