Ticket #487: patch-signal

File patch-signal, 1.8 KB (added by gahr, 2 years ago)
Line 
1--- src/main.c.orig     2009-12-22 21:06:08.000000000 +0100
2+++ src/main.c  2009-12-22 21:10:13.000000000 +0100
3@@ -21,6 +21,9 @@
4  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
5  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6  */
7+#include <sys/utsname.h>
8+#include <signal.h>
9+#include <time.h>
10 #include "E.h"
11 #include "comms.h"
12 #include "cursors.h"
13@@ -38,9 +41,6 @@
14 #include "snaps.h"
15 #include "user.h"
16 #include "xwin.h"
17-#include <sys/utsname.h>
18-#include <signal.h>
19-#include <time.h>
20 
21 const char          e_wm_name[] = "e16";
22 const char          e_wm_version[] = VERSION;
23--- src/session.c.orig  2009-12-22 21:11:00.000000000 +0100
24+++ src/session.c       2009-12-22 21:11:11.000000000 +0100
25@@ -21,6 +21,10 @@
26  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
27  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28  */
29+#include <fcntl.h>
30+#include <signal.h>
31+#include <sys/time.h>
32+
33 #include "E.h"
34 #include "dialog.h"
35 #include "e16-ecore_hints.h"
36@@ -33,9 +37,6 @@
37 #include "snaps.h"
38 #include "user.h"
39 #include "xwin.h"
40-#include <fcntl.h>
41-#include <signal.h>
42-#include <sys/time.h>
43 
44 #ifdef USE_EXT_INIT_WIN
45 static Window       new_init_win_ext = None;
46--- src/setup.c.orig    2009-12-22 21:11:26.000000000 +0100
47+++ src/setup.c 2009-12-22 21:11:36.000000000 +0100
48@@ -21,14 +21,16 @@
49  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
50  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51  */
52+
53+#include <signal.h>
54+#include <X11/keysym.h>
55+
56 #include "E.h"
57 #include "events.h"
58 #include "ewins.h"
59 #include "screen.h"
60 #include "session.h"
61 #include "xwin.h"
62-#include <signal.h>
63-#include <X11/keysym.h>
64 
65 static void
66 HandleXIOError(void)