Description: get correct ptsname() prototype
 Needed along with -DHAVE_PTMX for working ptys
Forwarded: email
Author: Mark Wooding <mdw@distorted.org.uk>
Last-Update: 2012-05-26
Bug-Debian: http://bugs.debian.org/660066

Index: ckermit/ckupty.c
===================================================================
--- ckermit.orig/ckupty.c	2012-05-09 23:29:20.000000000 +0100
+++ ckermit/ckupty.c	2012-05-26 00:35:08.000000000 +0100
@@ -54,6 +54,8 @@
    . HP-UX 8.00 and earlier (no vhangup or ptsname routines)
 */
 
+#define _XOPEN_SOURCE 500
+#include <stdlib.h>
 #include "ckcsym.h"
 #include "ckcdeb.h"			/* To pick up NETPTY definition */
 
