opnsense-ports/graphics/grafx2/files/patch-realpath.c
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

11 lines
378 B
C

--- ./realpath.c.orig 2012-11-28 11:58:06.000000000 +0100
+++ ./realpath.c 2012-11-28 11:58:22.000000000 +0100
@@ -6,7 +6,7 @@
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
-#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__)
+#if defined(__AROS__) || defined(__linux__) || defined(__GLIBC__) || defined(__FreeBSD__)
#include <limits.h>
#endif