mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
Include signal.h only when the signal names will be needed.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user