aboutsummaryrefslogtreecommitdiff
path: root/piperead~.c
diff options
context:
space:
mode:
Diffstat (limited to 'piperead~.c')
-rw-r--r--piperead~.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/piperead~.c b/piperead~.c
index ceeb1bd..aac3366 100644
--- a/piperead~.c
+++ b/piperead~.c
@@ -1,17 +1,14 @@
#include "m_pd.h"
-#ifdef NT
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4305 )
-#endif
-
+#ifndef NT
+#include <sys/mman.h>
+#endif
#include <sys/types.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <sys/stat.h>