]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/mmap.cc
refactor FileFd to hide some #ifdefs
[apt.git] / apt-pkg / contrib / mmap.cc
index 37acba340d21660956eff653cd6a3f7a82b0e9f6..b2a53a6cb3a342b647f91b474b88705fa89152e4 100644 (file)
 #include <apt-pkg/mmap.h>
 #include <apt-pkg/error.h>
 #include <apt-pkg/fileutl.h>
+#include <apt-pkg/macros.h>
 
+#include <string>
 #include <sys/mman.h>
-#include <sys/stat.h>
 #include <unistd.h>
-#include <fcntl.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <cstring>