diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-30 16:23:05 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-05-01 08:57:55 +0100 |
commit | 6aa95e87c1f259589ff9c7812707e4b30b8f6fd7 (patch) | |
tree | 46660d96146b7ab15e7b56fe167f68cef65a95ca /fish/prep_part.c | |
parent | ea74856d953aec39af6ee556221618fda644312f (diff) | |
download | libguestfs-6aa95e87c1f259589ff9c7812707e4b30b8f6fd7.tar.gz libguestfs-6aa95e87c1f259589ff9c7812707e4b30b8f6fd7.tar.xz libguestfs-6aa95e87c1f259589ff9c7812707e4b30b8f6fd7.zip |
Remove "convenience header" "gettext.h" and use <libintl.h> instead.
gettextize provides a local file called "gettext.h". Remove this and
use <libintl.h> from glibc headers instead.
Most of this change is mechanical: #include <libintl.h> in every C
file which uses any gettext function. But also we remove the
gettext.h file, and adjust the "_" macros.
Note that this effectively removes the ./configure --disable-nls
option, although we don't know if that ever worked.
Diffstat (limited to 'fish/prep_part.c')
-rw-r--r-- | fish/prep_part.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fish/prep_part.c b/fish/prep_part.c index 27f4b789..fc390143 100644 --- a/fish/prep_part.c +++ b/fish/prep_part.c @@ -23,6 +23,7 @@ #include <stdarg.h> #include <string.h> #include <unistd.h> +#include <libintl.h> #include "fish.h" #include "prepopts.h" |