c8ff8e4396416f008269c2d6cada019ce6b13efb
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / x11r7 / xapp_luit / 0001-posix-openpt.patch
1 Suggested workaround to build with recent gcc versions
2
3 Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792
4
5 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
6
7 Index: xapp_luit-1.1.1/sys.c
8 ===================================================================
9 --- xapp_luit-1.1.1.orig/sys.c
10 +++ xapp_luit-1.1.1/sys.c
11 @@ -20,6 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWAR
12  THE SOFTWARE.
13  */
14  
15 +#define _XOPEN_SOURCE 600
16 +
17  #ifdef HAVE_CONFIG_H
18  # include "config.h"
19  #endif