test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)
authorMichael Vogt <michael.vogt@ubuntu.com>
Mon, 18 Mar 2013 12:52:43 +0000 (13:52 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Mon, 18 Mar 2013 12:52:43 +0000 (13:52 +0100)
test/libapt/tagfile_test.cc

index 2e2144f..d12c74c 100644 (file)
@@ -4,6 +4,7 @@
 #include "assert.h"
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 
 char *tempfile = NULL;
 int tempfile_fd = -1;