--- nmm/plugins/file/mpeg/MPEGCheckFormat.hpp.orig	2007-08-13 23:44:07.000000000 +0200
+++ nmm/plugins/file/mpeg/MPEGCheckFormat.hpp	2008-04-19 10:59:11.017391564 +0200
@@ -28,9 +28,16 @@
 #include "nmm/nmm_prefix.hpp"
 
 #include <pthread.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 
+#ifdef __FreeBSD__
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+typedef uint32_t u_int32_t;
+#endif
+
 struct mpeg_file_format_type {
     bool   pes_stream;
     bool   mpeg_audio;
