diff options
author | Tollef Fog Heen <tfheen@err.no> | 2007-06-18 22:53:52 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2007-06-18 22:53:52 +0200 |
commit | ce499699bca7fe9ba33bfa3e73d7f64c26673893 (patch) | |
tree | 2f867531e4bd9d4b74ba6e36866d8e879903cda9 /glib-patches | |
parent | 163d95c5b9e9293e04771616b8b2ddfe166033e5 (diff) | |
download | pkg-config-ce499699bca7fe9ba33bfa3e73d7f64c26673893.tar.gz |
* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
there to get strsignal prototype, addresses the rest of
Freedesktop 10652.
Diffstat (limited to 'glib-patches')
-rw-r--r-- | glib-patches/remove-strsignal-prototype.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/glib-patches/remove-strsignal-prototype.diff b/glib-patches/remove-strsignal-prototype.diff index ce88481..c7b0934 100644 --- a/glib-patches/remove-strsignal-prototype.diff +++ b/glib-patches/remove-strsignal-prototype.diff @@ -1,5 +1,16 @@ --- glib-1.2.8/gstrfuncs.c 2000-04-17 17:05:16.000000000 +0200 +++ glib-1.2.8/gstrfuncs.c.new 2005-04-02 16:39:10.627002672 +0200 +@@ -38,10 +38,10 @@ + #include <string.h> + #include <locale.h> + #include <ctype.h> /* For tolower() */ + #if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL) + #define _GNU_SOURCE + #include <signal.h> + #endif + #include "glib.h" + /* do not include <unistd.h> in this place since it + * inteferes with g_strsignal() on some OSes @@ -671,7 +671,6 @@ char *msg; |