diff --git a/src/misc.h b/src/misc.h
index 60eaee5bf5ec9ce7ea63f24d91ef3c1aea4047c1..dad870a8f6bd4e782ef4f9e3677471fe88837fbd 100644 (file)
--- a/src/misc.h
+++ b/src/misc.h
// Miscellaneous functions
// Miscellaneous functions
+#include <stdint.h>
+#include "view.h"
+
#define MAXDIST 2000000L
enum{
#define MAXDIST 2000000L
enum{
void Z_clrst();
void Z_clrst();
-unsigned short int short2host (unsigned short int x);
-unsigned int int2host (unsigned int x);
+int16_t short2host (int16_t x);
+int32_t int2host (int32_t x);