]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
lxc: include sys/stat.h
authorGuido Günther <agx@sigxcpu.org>
Fri, 8 Mar 2013 16:28:37 +0000 (17:28 +0100)
committerGuido Günther <agx@sigxcpu.org>
Fri, 8 Mar 2013 18:11:32 +0000 (19:11 +0100)
commitc8871d8fbda27f823e8799a4136670e656345399
tree0667d71ddffc8d2d2e207ae362e726a6ccb39780
parent5a791c899552628154320c6dfa068f51ee60c0a8
lxc: include sys/stat.h

This fixes the build on Debian Wheezy which otherwise fails with:

  CC     libvirt_driver_lxc_impl_la-lxc_process.lo
  lxc/lxc_process.c: In function 'virLXCProcessGetNsInode':
  lxc/lxc_process.c:648:5: error: implicit declaration of function 'stat' [-Werror=implicit-function-declaration]
  lxc/lxc_process.c:648:5: error: nested extern declaration of 'stat' [-Werror=nested-externs]
  cc1: all warnings being treated as errors
src/lxc/lxc_process.c