opnsense-ports/graphics/pecomato/files/patch-util.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
429 B
C

--- util.h.orig 2007-09-28 12:04:57.000000000 -0400
+++ util.h 2009-03-25 03:18:26.000000000 -0400
@@ -10,6 +10,7 @@
#define _util_h_
+#include <sys/param.h>
#include <stdio.h>
#include <stdarg.h>
@@ -67,9 +68,11 @@
#define _SSIZE_T_DECLARED
#endif
#endif
+#if __FreeBSD_version < 800067
#include "gnu-getline.h"
#include "gnu-strndup.h"
#endif
+#endif
/* Microsoft Windows specific defines */
#ifdef OS_WIN32