From: Eric Blake Date: Wed, 18 Aug 2010 19:43:26 +0000 (-0600) Subject: build: fix compiler warning X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9ba934c6404613aede47a5d7ca51f3509447c776;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git build: fix compiler warning node_device/node_device_driver.c: In function 'nodeDeviceVportCreateDelete': node_device/node_device_driver.c:423: error: implicit declaration of function 'stat' [-Wimplicit-function-declaration] * src/node_device/node_device_driver.c (includes): Add . --- diff --git a/src/node_device/node_device_driver.c b/src/node_device/node_device_driver.c index a6ac80bd9..448cfd32c 100644 --- a/src/node_device/node_device_driver.c +++ b/src/node_device/node_device_driver.c @@ -1,6 +1,7 @@ /* * node_device.c: node device enumeration * + * Copyright (C) 2010 Red Hat, Inc. * Copyright (C) 2008 Virtual Iron Software, Inc. * Copyright (C) 2008 David F. Lively * @@ -27,6 +28,7 @@ #include #include #include +#include #include "virterror_internal.h" #include "datatypes.h"