1 From: Maarten ter Huurne <maarten@treewalker.org>
2 Date: Mon, 15 Sep 2014 00:24:41 +0200
3 Subject: Renamed sched.h to eventqueue.h
5 There is a <sched.h> system header that got shadowed by "sched.h".
6 While Screen itself doesn't include <sched.h>, other system headers
7 might include it indirectly. This broke the build when using uClibc
10 Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
12 eventqueue.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
13 sched.h | 48 ------------------------------------------------
15 3 files changed, 49 insertions(+), 49 deletions(-)
16 create mode 100644 eventqueue.h
17 delete mode 100644 sched.h
19 diff --git a/eventqueue.h b/eventqueue.h
21 index 0000000..fdc3fc4
25 +/* Copyright (c) 2008, 2009
26 + * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
27 + * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
28 + * Micah Cowan (micah@cowan.name)
29 + * Sadrul Habib Chowdhury (sadrul@users.sourceforge.net)
30 + * Copyright (c) 1993-2002, 2003, 2005, 2006, 2007
31 + * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
32 + * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
33 + * Copyright (c) 1987 Oliver Laumann
35 + * This program is free software; you can redistribute it and/or modify
36 + * it under the terms of the GNU General Public License as published by
37 + * the Free Software Foundation; either version 3, or (at your option)
38 + * any later version.
40 + * This program is distributed in the hope that it will be useful,
41 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
42 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 + * GNU General Public License for more details.
45 + * You should have received a copy of the GNU General Public License
46 + * along with this program (see the file COPYING); if not, see
47 + * http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc.,
48 + * 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
50 + ****************************************************************
57 + void (*handler) __P((struct event *, char *));
62 + struct timeval timeout;
63 + int queued; /* in evs queue */
64 + int active; /* in fdset */
65 + int *condpos; /* only active if condpos - condneg > 0 */
73 diff --git a/sched.h b/sched.h
74 deleted file mode 100644
75 index fdc3fc4..0000000
79 -/* Copyright (c) 2008, 2009
80 - * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
81 - * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
82 - * Micah Cowan (micah@cowan.name)
83 - * Sadrul Habib Chowdhury (sadrul@users.sourceforge.net)
84 - * Copyright (c) 1993-2002, 2003, 2005, 2006, 2007
85 - * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
86 - * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
87 - * Copyright (c) 1987 Oliver Laumann
89 - * This program is free software; you can redistribute it and/or modify
90 - * it under the terms of the GNU General Public License as published by
91 - * the Free Software Foundation; either version 3, or (at your option)
92 - * any later version.
94 - * This program is distributed in the hope that it will be useful,
95 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
96 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
97 - * GNU General Public License for more details.
99 - * You should have received a copy of the GNU General Public License
100 - * along with this program (see the file COPYING); if not, see
101 - * http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc.,
102 - * 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
104 - ****************************************************************
110 - struct event *next;
111 - void (*handler) __P((struct event *, char *));
116 - struct timeval timeout;
117 - int queued; /* in evs queue */
118 - int active; /* in fdset */
119 - int *condpos; /* only active if condpos - condneg > 0 */
123 -#define EV_TIMEOUT 0
127 diff --git a/screen.h b/screen.h
128 index 603ca3f..34238c8 100644
136 +#include "eventqueue.h"