summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/libapt/tagfile_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libapt/tagfile_test.cc b/test/libapt/tagfile_test.cc
index 2e2144f99..d12c74c95 100644
--- a/test/libapt/tagfile_test.cc
+++ b/test/libapt/tagfile_test.cc
@@ -4,6 +4,7 @@
#include "assert.h"
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
char *tempfile = NULL;
int tempfile_fd = -1;