summaryrefslogtreecommitdiff
path: root/methods/file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/file.cc')
-rw-r--r--methods/file.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/methods/file.cc b/methods/file.cc
index 7ed4e6f60..12db62203 100644
--- a/methods/file.cc
+++ b/methods/file.cc
@@ -5,7 +5,7 @@
File URI method for APT
- This simply checks that the file specified exists, if so the relevent
+ This simply checks that the file specified exists, if so the relevant
information is returned. If a .gz filename is specified then the file
name with .gz removed will also be checked and information about it
will be returned in Alt-*
@@ -21,8 +21,9 @@
#include <apt-pkg/fileutl.h>
#include <apt-pkg/strutl.h>
+#include <string>
#include <sys/stat.h>
-#include <unistd.h>
+
#include <apti18n.h>
/*}}}*/