Commits

Brandon Mitchell  committed ae6e304

Define stat64, et al. for FreeBSD.

  • Participants
  • Parent commits 2d1d7a6
  • Branches freebsd

Comments (0)

Files changed (1)

File base/core/lib/unix_stubs.c

 #include <sys/mman.h>
 #include <math.h>
 
+#if defined(__FreeBSD__)
+#define stat64 stat
+#define lstat64 lstat
+#define fstat64 fstat
+#endif
+
 #include "ocaml_utils.h"
 #include "config.h"