From 6740028b333840eec5e8e46e8512f8155728b037 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 13 Apr 2011 15:17:32 +0200 Subject: [PATCH] Include string.h and libintl.h, as needed. * df/df.c: As above. * df/main.c: As above. * df/output.c: As above. * fuse/guestmount.c: As above. * inspector/virt-inspector.c: As above. * rescue/virt-rescue.c: As above. --- df/df.c | 3 ++- df/main.c | 4 +++- df/output.c | 3 ++- fuse/guestmount.c | 1 + inspector/virt-inspector.c | 2 ++ rescue/virt-rescue.c | 4 +++- 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/df/df.c b/df/df.c index c2db970..8821d68 100644 --- a/df/df.c +++ b/df/df.c @@ -1,5 +1,5 @@ /* virt-df - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #include #include #include +#include #include #ifdef HAVE_LIBVIRT diff --git a/df/main.c b/df/main.c index 3421d90..17aa283 100644 --- a/df/main.c +++ b/df/main.c @@ -1,5 +1,5 @@ /* virt-df - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,11 +21,13 @@ #include #include #include +#include #include #include #include #include #include +#include #ifdef HAVE_LIBVIRT #include diff --git a/df/output.c b/df/output.c index b60d285..7852daa 100644 --- a/df/output.c +++ b/df/output.c @@ -1,5 +1,5 @@ /* virt-df - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/fuse/guestmount.c b/fuse/guestmount.c index 5a89fcb..8d483b3 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include diff --git a/inspector/virt-inspector.c b/inspector/virt-inspector.c index 7724be6..69c4ea9 100644 --- a/inspector/virt-inspector.c +++ b/inspector/virt-inspector.c @@ -20,11 +20,13 @@ #include #include +#include #include #include #include #include #include +#include #include #include diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c index f129b1c..911b80a 100644 --- a/rescue/virt-rescue.c +++ b/rescue/virt-rescue.c @@ -1,5 +1,5 @@ /* virt-rescue - * Copyright (C) 2010 Red Hat Inc. + * Copyright (C) 2010-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,12 +20,14 @@ #include #include +#include #include #include #include #include #include #include +#include #include "progname.h" #include "xvasprintf.h" -- 1.8.3.1