summaryrefslogtreecommitdiff
path: root/test/interactive-helper/test_udevcdrom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/interactive-helper/test_udevcdrom.cc')
-rw-r--r--test/interactive-helper/test_udevcdrom.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/interactive-helper/test_udevcdrom.cc b/test/interactive-helper/test_udevcdrom.cc
index dc25ab357..88f5f0153 100644
--- a/test/interactive-helper/test_udevcdrom.cc
+++ b/test/interactive-helper/test_udevcdrom.cc
@@ -2,12 +2,15 @@
#include <stdio.h>
#include <assert.h>
+#include <vector>
+#include <iostream>
+
int main()
{
pkgUdevCdromDevices c;
assert(c.Dlopen());
- vector<CdromDevice> l;
+ std::vector<CdromDevice> l;
l = c.Scan();
assert(l.empty() == false);
for (size_t i = 0; i < l.size(); ++i)