summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--df/df.c3
-rw-r--r--df/main.c4
-rw-r--r--df/output.c3
-rw-r--r--fuse/guestmount.c1
-rw-r--r--inspector/virt-inspector.c2
-rw-r--r--rescue/virt-rescue.c4
6 files changed, 13 insertions, 4 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>
diff --git a/fuse/guestmount.c b/fuse/guestmount.c
index 5a89fcbd..8d483b33 100644
--- a/fuse/guestmount.c
+++ b/fuse/guestmount.c
@@ -42,6 +42,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <locale.h>
+#include <libintl.h>
#include <fuse.h>
#include <guestfs.h>
diff --git a/inspector/virt-inspector.c b/inspector/virt-inspector.c
index 7724be65..69c4ea9a 100644
--- a/inspector/virt-inspector.c
+++ b/inspector/virt-inspector.c
@@ -20,11 +20,13 @@
#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 <libintl.h>
#include <libxml/xmlIO.h>
#include <libxml/xmlwriter.h>
diff --git a/rescue/virt-rescue.c b/rescue/virt-rescue.c
index f129b1c8..911b80a1 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 <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 <libintl.h>
#include "progname.h"
#include "xvasprintf.h"