summaryrefslogtreecommitdiff
path: root/gstrfuncs.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-01-21 05:43:40 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-01-21 05:43:40 +0000
commit30bcb36954c13a097ee9ea1684cbbf50f2becd4e (patch)
tree330f0234e738976ed1198745b8b60a1149abf4d9 /gstrfuncs.c
parent1a04abe5fbec65b0dc2a08e869ad077526e11280 (diff)
downloadglib-30bcb36954c13a097ee9ea1684cbbf50f2becd4e.tar.gz
Include signal.h only when the signal names will be needed.
Diffstat (limited to 'gstrfuncs.c')
-rw-r--r--gstrfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gstrfuncs.c b/gstrfuncs.c
index dde990159..d5c00b7c8 100644
--- a/gstrfuncs.c
+++ b/gstrfuncs.c
@@ -31,7 +31,9 @@
#include <string.h>
#include <locale.h>
#include <ctype.h> /* For tolower() */
+#if !defined (HAVE_STRSIGNAL) && NO_SYS_SIGLIST
#include <signal.h>
+#endif
#include "glib.h"
/* do not include <unistd.h> in this place since it
* inteferes with g_strsignal() on some OSes