blob: e3b8a9c3387971233b5b99b255aa7aedb490920c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
On FreeBSD (and maybe others) we need <sys/types.h> for off_t.
diff -ur pmx-2.6.18.orig/libf2c/fio.h pmx-2.6.18/libf2c/fio.h
--- pmx-2.6.18.orig/libf2c/fio.h 2012-05-19 18:47:56.000000000 +0200
+++ pmx-2.6.18/libf2c/fio.h 2012-05-19 18:50:13.501421172 +0200
@@ -1,6 +1,7 @@
#ifndef SYSDEP_H_INCLUDED
#include "sysdep1.h"
#endif
+#include <sys/types.h> /* for off_t */
#include "stdio.h"
#ifdef WIN32
extern int w32getc(FILE *f);
|