diff options
Diffstat (limited to 'math/octave/files/patch-glob.h')
-rw-r--r-- | math/octave/files/patch-glob.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/math/octave/files/patch-glob.h b/math/octave/files/patch-glob.h new file mode 100644 index 000000000000..c622411bdb47 --- /dev/null +++ b/math/octave/files/patch-glob.h @@ -0,0 +1,14 @@ +--- glob/glob.h.orig Sun Nov 10 15:32:00 2002 ++++ glob/glob.h Sun Nov 10 15:32:49 2002 +@@ -48,7 +48,11 @@ + /* We need `size_t' for the following definitions. */ + #ifndef __size_t + # if defined __GNUC__ && __GNUC__ >= 2 ++#ifndef __FreeBSD__ + typedef __SIZE_TYPE__ __size_t; ++#else ++#include <sys/types.h> ++#endif + # else + /* This is a guess. */ + /*hb |