From: Enrico Scholz Date: Tue, 30 Sep 2003 20:16:53 +0000 (+0000) Subject: include X-Git-Tag: VERSION_0_10~1335 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbaad751b3abd6eddf6f0274fb136fb0d0dbe97;p=util-vserver.git include git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@19 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/src/capchroot.c b/util-vserver/src/capchroot.c index 50f03bf..5f3e312 100644 --- a/util-vserver/src/capchroot.c +++ b/util-vserver/src/capchroot.c @@ -22,6 +22,11 @@ system call is executed, it (option) remove the CAP_SYS_CHROOT capability. Then it executes its argument */ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/chbind.c b/util-vserver/src/chbind.c index e190c15..3880ad3 100644 --- a/util-vserver/src/chbind.c +++ b/util-vserver/src/chbind.c @@ -17,6 +17,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/chcontext.c b/util-vserver/src/chcontext.c index af60dec..987af80 100644 --- a/util-vserver/src/chcontext.c +++ b/util-vserver/src/chcontext.c @@ -22,6 +22,10 @@ does little more than mapping command line option to the system call arguments. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/fakerunlevel.c b/util-vserver/src/fakerunlevel.c index b4f5898..b7f87d9 100644 --- a/util-vserver/src/fakerunlevel.c +++ b/util-vserver/src/fakerunlevel.c @@ -22,6 +22,10 @@ This is used when a vserver lack a private init process so runlevel properly report the fake runlevel. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/filetime.c b/util-vserver/src/filetime.c index 2c67835..cc99649 100644 --- a/util-vserver/src/filetime.c +++ b/util-vserver/src/filetime.c @@ -17,6 +17,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/ifspec.c b/util-vserver/src/ifspec.c index cebe4d0..803a15d 100644 --- a/util-vserver/src/ifspec.c +++ b/util-vserver/src/ifspec.c @@ -24,6 +24,10 @@ NETMASK= BCAST= */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/rebootmgr.c b/util-vserver/src/rebootmgr.c index 8e9570e..199452a 100644 --- a/util-vserver/src/rebootmgr.c +++ b/util-vserver/src/rebootmgr.c @@ -37,6 +37,10 @@ The vreboot utility is used to send the signal from the vserver environment. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/reducecap.c b/util-vserver/src/reducecap.c index 0efcb35..6fdd4b5 100644 --- a/util-vserver/src/reducecap.c +++ b/util-vserver/src/reducecap.c @@ -17,6 +17,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/setctxlimit.c b/util-vserver/src/setctxlimit.c index 499e691..56ae22f 100644 --- a/util-vserver/src/setctxlimit.c +++ b/util-vserver/src/setctxlimit.c @@ -24,6 +24,10 @@ It uses the same options as ulimit, when possible */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/showperm.c b/util-vserver/src/showperm.c index 1710de4..a0be05d 100644 --- a/util-vserver/src/showperm.c +++ b/util-vserver/src/showperm.c @@ -17,6 +17,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/vdu.c b/util-vserver/src/vdu.c index 96efd57..85ad9f9 100644 --- a/util-vserver/src/vdu.c +++ b/util-vserver/src/vdu.c @@ -17,6 +17,10 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/vreboot.c b/util-vserver/src/vreboot.c index 62e2ee0..37062bd 100644 --- a/util-vserver/src/vreboot.c +++ b/util-vserver/src/vreboot.c @@ -21,6 +21,10 @@ Used to send a reboot message to the reboot manager. It opens /dev/reboot and write "reboot\n". */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/util-vserver/src/vserver-stat.c b/util-vserver/src/vserver-stat.c index a7737b3..9436e73 100644 --- a/util-vserver/src/vserver-stat.c +++ b/util-vserver/src/vserver-stat.c @@ -30,6 +30,9 @@ 2001-11-29 added uptime/ctx stat 2001-11-20 added vmsize, rss, stime and utime stat */ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include