--- include/common.h.orig	Thu Feb 17 19:20:35 2000
+++ include/common.h	Thu Feb 17 19:35:37 2000
@@ -76,10 +78,10 @@
 
 #if !defined(_WIN32)
 
-#include <values.h>
+#include <limits.h>
 #include <sys/types.h>
 
-#if defined(__linux) || (defined(__sgi) && !defined(__INTTYPES_MAJOR))
+#if defined(__linux) || defined(__FreeBSD__) || (defined(__sgi) && !defined(__INTTYPES_MAJOR))
 typedef u_int16_t	uint16_t;
 typedef u_int32_t	uint32_t;
 #endif
