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.
This commit is contained in:
Jim Meyering
2011-04-13 13:15:39 +02:00
committed by Richard W.M. Jones
parent 173c374bd0
commit ace1795d10
3 changed files with 9 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"