new patch: 020_fix_ptys
[ckermit.git] / debian / patches / 020_fix_ptys.patch
1 Index: ckermit/ckupty.c
2 ===================================================================
3 --- ckermit.orig/ckupty.c       2012-05-08 04:43:50.000000000 +0100
4 +++ ckermit/ckupty.c    2012-05-08 04:44:30.000000000 +0100
5 @@ -54,6 +54,8 @@
6     . HP-UX 8.00 and earlier (no vhangup or ptsname routines)
7  */
8  
9 +#define _XOPEN_SOURCE
10 +#include <stdlib.h>
11  #include "ckcsym.h"
12  #include "ckcdeb.h"                    /* To pick up NETPTY definition */
13