summaryrefslogtreecommitdiffstats
path: root/cat
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2011-04-13 13:15:39 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-04-13 14:25:56 +0100
commitace1795d1045be96f92a68e6b61ffdee60431fef (patch)
treeed4eb7dd2c23f8703f18acf174a0b236300dd230 /cat
parent173c374bd01e84deafdaf1f9aa65b0f623e86470 (diff)
downloadlibguestfs-ace1795d1045be96f92a68e6b61ffdee60431fef.tar.gz
libguestfs-ace1795d1045be96f92a68e6b61ffdee60431fef.tar.xz
libguestfs-ace1795d1045be96f92a68e6b61ffdee60431fef.zip
Add more missing include directives.
* cat/virt-cat.c: Include string.h and libintl.h. * cat/virt-filesystems.c: Likewise. * cat/virt-ls.c: Likewise.
Diffstat (limited to 'cat')
-rw-r--r--cat/virt-cat.c4
-rw-r--r--cat/virt-filesystems.c4
-rw-r--r--cat/virt-ls.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/cat/virt-cat.c b/cat/virt-cat.c
index dca9ef49..06bd8b11 100644
--- a/cat/virt-cat.c
+++ b/cat/virt-cat.c
@@ -1,5 +1,5 @@
/* virt-cat
- * 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,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 "progname.h"
diff --git a/cat/virt-filesystems.c b/cat/virt-filesystems.c
index c6d52ace..10084dee 100644
--- a/cat/virt-filesystems.c
+++ b/cat/virt-filesystems.c
@@ -1,5 +1,5 @@
/* virt-filesystems
- * 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
@@ -26,6 +26,8 @@
#include <getopt.h>
#include <locale.h>
#include <assert.h>
+#include <string.h>
+#include <libintl.h>
#include "c-ctype.h"
#include "human.h"
diff --git a/cat/virt-ls.c b/cat/virt-ls.c
index e2700d23..b510f9ae 100644
--- a/cat/virt-ls.c
+++ b/cat/virt-ls.c
@@ -1,5 +1,5 @@
/* virt-ls
- * 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
@@ -26,6 +26,8 @@
#include <fcntl.h>
#include <locale.h>
#include <assert.h>
+#include <string.h>
+#include <libintl.h>
#include "progname.h"