openbsd-ports/net/poptop/patches/patch-compat_c
jasper b92dd1fd7c - add missing headers to fix potential 64-bit issues
- specify license version
- regen PLIST
2008-11-21 15:05:23 +00:00

19 lines
352 B
Plaintext

$OpenBSD: patch-compat_c,v 1.1 2008/11/21 15:05:23 jasper Exp $
--- compat.c.orig Wed Jan 5 12:01:51 2005
+++ compat.c Fri Nov 21 12:59:09 2008
@@ -12,6 +12,14 @@
#include "compat.h"
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#if HAVE_STRING_H
+#include <string.h>
+#endif
+
#ifndef HAVE_STRLCPY
#include <string.h>
#include <stdio.h>