diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-11-16 08:04:24 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-11-16 08:04:24 +0100 |
commit | 6970dcb4ef9cb61aeded1ba26b95541f21d9c8d5 (patch) | |
tree | b01e8b143f0c013a1fcfa086fb9b6bab77bc4648 /src/basic/virt.c | |
parent | 7ad8eb8d84a53a1dc55411ae1087bd9a2f3b58bf (diff) |
virt: add missing #includes
src/basic/virt.c: In function 'detect_vm_device_tree':
src/basic/virt.c:117:17: error: unknown type name '_cleanup_closedir_'
_cleanup_closedir_ DIR *dir = NULL;
src/basic/virt.c:128:17: error: implicit declaration of function 'FOREACH_DIRENT' [-Werror=implicit-function-declaration]
FOREACH_DIRENT(dent, dir, return -errno)
Diffstat (limited to 'src/basic/virt.c')
-rw-r--r-- | src/basic/virt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c index d088b7a804..bcf17cac27 100644 --- a/src/basic/virt.c +++ b/src/basic/virt.c @@ -29,6 +29,8 @@ #include "stat-util.h" #include "string-table.h" #include "string-util.h" +#include "fd-util.h" +#include "dirent-util.h" #include "util.h" #include "virt.h" |