diff options
author | Jim Meyering <jim@meyering.net> | 2007-05-30 15:40:50 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-05-30 15:40:50 +0200 |
commit | ba61a9dd4495561bdc827ac8f9108bbdda68fdb8 (patch) | |
tree | ecc2665c4e42500a3c10143cc45d56a016bce1f8 /parted/table.c | |
parent | 79fb9008cb516e8a227455d725b2f24a3aa1d37e (diff) | |
download | parted-ba61a9dd4495561bdc827ac8f9108bbdda68fdb8.tar.gz |
Fix configure-with-nls vs. wchar.h/wcsdup problem differently.
* parted/table.c: Include <config.h> *before* all other #include
directives. Remove explicit declaration of wcsdup. Now, we'll
get the one from <wchar.h>.
Diffstat (limited to 'parted/table.c')
-rw-r--r-- | parted/table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/parted/table.c b/parted/table.c index c878f60..1301549 100644 --- a/parted/table.c +++ b/parted/table.c @@ -21,18 +21,17 @@ */ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include <assert.h> -#include <config.h> #ifdef ENABLE_NLS # include <wchar.h> int wcswidth (const wchar_t *s, size_t n); - wchar_t *wcsdup(const wchar_t *s); # define L_(str) L##str #else # define L_(str) str |