don't rely on openssl to pull in string.h

This commit is contained in:
sthen 2014-05-23 12:37:17 +00:00
parent 4ac75f4f02
commit a7bde2ca8d
4 changed files with 35 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2014/01/08 22:01:36 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2014/05/23 12:37:17 sthen Exp $
COMMENT= transparent and scalable SSL/TLS interception
DISTNAME= sslsplit-0.4.7
REVISION= 1
REVISION= 2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= security

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-cachemgr_c,v 1.1 2014/05/23 12:37:17 sthen Exp $
--- cachemgr.c.orig Fri May 23 13:33:54 2014
+++ cachemgr.c Fri May 23 13:34:00 2014
@@ -35,6 +35,7 @@
#include "log.h"
#include "attrib.h"
+#include <string.h>
#include <pthread.h>
#include <netinet/in.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-pxythrmgr_c,v 1.1 2014/05/23 12:37:17 sthen Exp $
--- pxythrmgr.c.orig Fri May 23 13:34:26 2014
+++ pxythrmgr.c Fri May 23 13:34:33 2014
@@ -31,6 +31,7 @@
#include "sys.h"
#include "log.h"
+#include <string.h>
#include <pthread.h>
/*

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-ssl_c,v 1.1 2014/05/23 12:37:17 sthen Exp $
--- ssl.c.orig Fri May 23 13:34:58 2014
+++ ssl.c Fri May 23 13:35:07 2014
@@ -34,6 +34,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include <limits.h>
#include <openssl/crypto.h>