Add some missing include files which break build in certain platforms

Two files were using functions from <sys/stat.h> but not including
in. Most of the time they got this automatically via another header,
but certain build flag combinations can reveal the problem

* src/lxc/lxc_container.c, src/node_device/node_device_linux_sysfs.c:
  Add <sys/stat.h>
This commit is contained in:
Daniel P. Berrange 2010-01-22 13:21:16 +00:00
parent 7d8f5eb3bc
commit a5a46c6fc2
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <unistd.h>
#include <mntent.h>

View File

@ -23,6 +23,7 @@
#include <config.h>
#include <fcntl.h>
#include <sys/stat.h>
#include "node_device_driver.h"
#include "node_device_hal.h"