Browse Source

add def for __int64 for non-win32 builds

richarddobson 1 month ago
parent
commit
eb99f75164
1 changed files with 7 additions and 1 deletions
  1. 7 1
      dev/new/ceracu.c

+ 7 - 1
dev/new/ceracu.c

@@ -40,6 +40,10 @@
 #include <osbind.h>
 #include <standalone.h>
 #include <ctype.h>
+#ifdef linux
+#include <stdint.h>
+#include <sys/vfs.h>
+#endif
 #include <sfsys.h>
 #include <string.h>
 #include <srates.h>
@@ -52,7 +56,9 @@
 #ifdef unix
 #define round(x) lround((x))
 #endif
-
+#ifndef WIN32
+typedef long long __int64;
+#endif
 char errstr[2400];
 
 int anal_infiles = 1;