Include unistd.h due to OpenBSD patchset 254. At least on Linux, that's where

_POSIX_VDISABLE is defined.
This commit is contained in:
Tiago Cunha 2009-08-16 19:04:05 +00:00
parent f415d43c3b
commit 8973af82c5

View File

@ -1,4 +1,4 @@
/* $Id: cmd-new-session.c,v 1.52 2009-08-16 18:59:12 tcunha Exp $ */ /* $Id: cmd-new-session.c,v 1.53 2009-08-16 19:04:05 tcunha Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -20,6 +20,7 @@
#include <string.h> #include <string.h>
#include <termios.h> #include <termios.h>
#include <unistd.h>
#define TTYDEFCHARS #define TTYDEFCHARS
#include <sys/ttydefaults.h> #include <sys/ttydefaults.h>