]> granicus.if.org Git - file/commitdiff
we only need mman for testing.
authorChristos Zoulas <christos@zoulas.com>
Fri, 15 Jul 2016 00:56:04 +0000 (00:56 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 15 Jul 2016 00:56:04 +0000 (00:56 +0000)
src/der.c

index f36606b9d82eebcfa30b6ffc32d88d67bfc8f5dd..6cc0c1414388ba0fe9203602c098000917d80777 100644 (file)
--- a/src/der.c
+++ b/src/der.c
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: der.c,v 1.7 2016/06/01 22:01:15 christos Exp $")
+FILE_RCSID("@(#)$File: der.c,v 1.8 2016/07/15 00:56:04 christos Exp $")
 #endif
 #endif
 
 #include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/mman.h>
 
 #include <stdio.h>
 #include <fcntl.h>
@@ -53,6 +51,8 @@ FILE_RCSID("@(#)$File: der.c,v 1.7 2016/06/01 22:01:15 christos Exp $")
 #include "magic.h"
 #include "der.h"
 #else
+#include <sys/mman.h>
+#include <sys/stat.h>
 #include <err.h>
 #endif