changeset 10333:5eb81f349da7

[gaim-migrate @ 11540] Kevin, let me know if this doesn't take care of everything. Thanks for pointing these out! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 09 Dec 2004 02:12:18 +0000
parents 8d42237564f6
children 5aa8ed1ec91e
files src/gtkmain.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkmain.c	Thu Dec 09 01:08:14 2004 +0000
+++ b/src/gtkmain.c	Thu Dec 09 02:12:18 2004 +0000
@@ -125,6 +125,7 @@
 	return ret;
 }
 
+#if HAVE_SIGNAL_H
 static void
 clean_pid(void)
 {
@@ -143,7 +144,6 @@
 #endif
 }
 
-#if HAVE_SIGNAL_H
 void
 sighandler(int sig)
 {
@@ -180,9 +180,7 @@
 		break;
 	case SIGCHLD:
 		clean_pid();
-#if HAVE_SIGNAL_H
 		signal(SIGCHLD, sighandler);    /* restore signal catching on this one! */
-#endif
 		break;
 	default:
 		gaim_debug_warning("sighandler", "Caught signal %d\n", sig);