aboutsummaryrefslogtreecommitdiff
path: root/wavinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'wavinfo.c')
-rw-r--r--wavinfo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/wavinfo.c b/wavinfo.c
index f27c250..db7188c 100644
--- a/wavinfo.c
+++ b/wavinfo.c
@@ -8,12 +8,9 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include <sys/mman.h>
#include <fcntl.h>
-
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
+#ifndef NT
+#include <sys/mman.h>
#endif
/*--*/