summaryrefslogtreecommitdiffstats
path: root/df
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2011-04-13 15:17:32 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-04-13 14:26:06 +0100
commit6740028b333840eec5e8e46e8512f8155728b037 (patch)
tree71faf165ee6e3cc974e85e7d679f1ea323511291 /df
parentace1795d1045be96f92a68e6b61ffdee60431fef (diff)
downloadlibguestfs-6740028b333840eec5e8e46e8512f8155728b037.tar.gz
libguestfs-6740028b333840eec5e8e46e8512f8155728b037.tar.xz
libguestfs-6740028b333840eec5e8e46e8512f8155728b037.zip
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.
Diffstat (limited to 'df')
-rw-r--r--df/df.c3
-rw-r--r--df/main.c4
-rw-r--r--df/output.c3
3 files changed, 7 insertions, 3 deletions
diff --git a/df/df.c b/df/df.c
index c2db970f..8821d688 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 <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <string.h>
#include <inttypes.h>
#ifdef HAVE_LIBVIRT
diff --git a/df/main.c b/df/main.c
index 3421d90c..17aa2830 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 <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include <getopt.h>
#include <locale.h>
#include <assert.h>
+#include <libintl.h>
#ifdef HAVE_LIBVIRT
#include <libvirt/libvirt.h>
diff --git a/df/output.c b/df/output.c
index b60d285c..7852daa2 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 <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <string.h>
#include <inttypes.h>
#include <xvasprintf.h>
#include <math.h>