Include string.h and libintl.h, as needed.
[libguestfs.git] / df / output.c
index 52ce063..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>
@@ -45,7 +46,6 @@ void
 print_title (void)
 {
   const char *cols[6];
 print_title (void)
 {
   const char *cols[6];
-  size_t i;
 
   cols[0] = _("VirtualMachine");
   cols[1] = _("Filesystem");
 
   cols[0] = _("VirtualMachine");
   cols[1] = _("Filesystem");