Include string.h and libintl.h, as needed.

* 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.
This commit is contained in:
Jim Meyering
2011-04-13 15:17:32 +02:00
committed by Richard W.M. Jones
parent ace1795d10
commit 6740028b33
6 changed files with 13 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@@ -42,6 +42,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <locale.h>
#include <libintl.h>
#include <fuse.h>
#include <guestfs.h>

View File

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

View File

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