explicitly pull in limits.h and signal.h

This commit is contained in:
naddy 2015-01-16 22:09:30 +00:00
parent d28ba6a369
commit 82aa99af33
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-adsuck_c,v 1.3 2015/01/16 22:09:30 naddy Exp $
--- adsuck.c.orig Tue Dec 11 17:37:04 2012
+++ adsuck.c Fri Jan 16 22:56:31 2015
@@ -14,6 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <limits.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-resolv_c,v 1.1 2015/01/16 22:09:30 naddy Exp $
--- resolv.c.orig Tue Dec 11 17:37:05 2012
+++ resolv.c Fri Jan 16 23:04:39 2015
@@ -15,6 +15,7 @@
*/
#include <sys/types.h>
+#include <limits.h>
#include <unistd.h>
#if defined(__linux__)