ports/math/octave/files/patch-glob.h
Ying-Chieh Liao 325bbc5439 upgrade to 2.1.39
PR:		39251, 45201
Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
Approved by:	maintainer timeout
2002-11-16 17:42:38 +00:00

14 lines
352 B
C

--- 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