Include string.h and libintl.h, as needed.
authorJim Meyering <jim@meyering.net>
Wed, 13 Apr 2011 13:17:32 +0000 (15:17 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 13:26:06 +0000 (14:26 +0100)
* 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
df/main.c
df/output.c
fuse/guestmount.c
inspector/virt-inspector.c
rescue/virt-rescue.c

diff --git a/df/df.c b/df/df.c
index c2db970..8821d68 100644 (file)
--- a/df/df.c
+++ b/df/df.c
@@ -1,5 +1,5 @@
 /* virt-df
 /* 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
  *
  * 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 <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
+#include <string.h>
 #include <inttypes.h>
 
 #ifdef HAVE_LIBVIRT
 #include <inttypes.h>
 
 #ifdef HAVE_LIBVIRT
index 3421d90..17aa283 100644 (file)
--- a/df/main.c
+++ b/df/main.c
@@ -1,5 +1,5 @@
 /* virt-df
 /* 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
  *
  * 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
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
 #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 <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
 #include <locale.h>
 #include <assert.h>
+#include <libintl.h>
 
 #ifdef HAVE_LIBVIRT
 #include <libvirt/libvirt.h>
 
 #ifdef HAVE_LIBVIRT
 #include <libvirt/libvirt.h>
index b60d285..7852daa 100644 (file)
@@ -1,5 +1,5 @@
 /* virt-df
 /* 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
  *
  * 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 <stdio.h>
 #include <stdlib.h>
 #include <stdint.h>
+#include <string.h>
 #include <inttypes.h>
 #include <xvasprintf.h>
 #include <math.h>
 #include <inttypes.h>
 #include <xvasprintf.h>
 #include <math.h>
index 5a89fcb..8d483b3 100644 (file)
@@ -42,6 +42,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <locale.h>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <locale.h>
+#include <libintl.h>
 
 #include <fuse.h>
 #include <guestfs.h>
 
 #include <fuse.h>
 #include <guestfs.h>
index 7724be6..69c4ea9 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
 #include <locale.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
 #include <locale.h>
 #include <assert.h>
+#include <libintl.h>
 
 #include <libxml/xmlIO.h>
 #include <libxml/xmlwriter.h>
 
 #include <libxml/xmlIO.h>
 #include <libxml/xmlwriter.h>
index f129b1c..911b80a 100644 (file)
@@ -1,5 +1,5 @@
 /* virt-rescue
 /* 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
  *
  * 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
 
 #include <stdio.h>
 #include <stdlib.h>
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
 #include <errno.h>
 #include <locale.h>
 #include <assert.h>
 #include <inttypes.h>
 #include <unistd.h>
 #include <getopt.h>
 #include <errno.h>
 #include <locale.h>
 #include <assert.h>
+#include <libintl.h>
 
 #include "progname.h"
 #include "xvasprintf.h"
 
 #include "progname.h"
 #include "xvasprintf.h"