]> git.pld-linux.org Git - packages/parted.git/blob - parted-uClibc.patch
- fix exit crash after libparted dlopen error
[packages/parted.git] / parted-uClibc.patch
1 diff -ur parted-1.4.24/parted/strlist.h parted-1.4.24-/parted/strlist.h
2 --- parted-1.4.24/parted/strlist.h      Sat Apr  7 22:04:39 2001
3 +++ parted-1.4.24-/parted/strlist.h     Thu Mar 14 23:47:28 2002
4 @@ -20,8 +20,22 @@
5  #ifndef STRLIST_H_INCLUDED
6  #define STRLIST_H_INCLUDED
7  
8 +#ifdef ENABLE_NLS
9 +
10 +#define __USE_GNU
11 +
12  #include <wchar.h>
13  
14 +#else /* ENABLE_NLS */
15 +
16 +#ifdef wchar_t
17 +#undef wchar_t
18 +#endif
19 +
20 +#define wchar_t char
21 +
22 +#endif /* !ENABLE_NLS */
23 +
24  typedef struct _StrList StrList;
25  struct _StrList {
26         StrList*        next;
This page took 0.027679 seconds and 3 git commands to generate.