diff options
-rw-r--r-- | math/octave-devel/files/patch-glob.h | 2 | ||||
-rw-r--r-- | math/octave/files/patch-glob.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/math/octave-devel/files/patch-glob.h b/math/octave-devel/files/patch-glob.h index c622411bdb47..a5946bc37fc7 100644 --- a/math/octave-devel/files/patch-glob.h +++ b/math/octave-devel/files/patch-glob.h @@ -4,7 +4,7 @@ /* We need `size_t' for the following definitions. */ #ifndef __size_t # if defined __GNUC__ && __GNUC__ >= 2 -+#ifndef __FreeBSD__ ++#if (__FreeBSD__ <= 4) typedef __SIZE_TYPE__ __size_t; +#else +#include <sys/types.h> diff --git a/math/octave/files/patch-glob.h b/math/octave/files/patch-glob.h index c622411bdb47..a5946bc37fc7 100644 --- a/math/octave/files/patch-glob.h +++ b/math/octave/files/patch-glob.h @@ -4,7 +4,7 @@ /* We need `size_t' for the following definitions. */ #ifndef __size_t # if defined __GNUC__ && __GNUC__ >= 2 -+#ifndef __FreeBSD__ ++#if (__FreeBSD__ <= 4) typedef __SIZE_TYPE__ __size_t; +#else +#include <sys/types.h> |