openbsd-ports/devel/kdbg/patches/patch-kdbg_ttywnd_cpp

14 lines
389 B
Plaintext

$OpenBSD: patch-kdbg_ttywnd_cpp,v 1.2 2002/07/24 15:34:59 naddy Exp $
--- kdbg/ttywnd.cpp.orig Tue Jul 23 19:09:56 2002
+++ kdbg/ttywnd.cpp Tue Jul 23 19:10:36 2002
@@ -32,6 +32,9 @@
#ifdef HAVE_LIBUTIL_H
#include <libutil.h> /* openpty on FreeBSD */
#endif
+#ifdef HAVE_UTIL_H /* openpty on NetBSD, OpenBSD */
+#include <util.h>
+#endif
#include <errno.h>
#include "mydebug.h"