mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
committed by
Richard W.M. Jones
parent
ace1795d10
commit
6740028b33
3
df/df.c
3
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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <locale.h>
|
||||
#include <libintl.h>
|
||||
|
||||
#include <fuse.h>
|
||||
#include <guestfs.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user