--- rxvt-unicode/src/iom_conf.h 2005/04/26 00:35:00 1.5 +++ rxvt-unicode/src/iom_conf.h 2007/10/31 09:55:23 1.10 @@ -1,17 +1,17 @@ /* iom_conf.h -- generic I/O multiplexer config - Copyright (C) 2003, 2004 Marc Lehmann - + Copyright (C) 2003-2006 Marc Lehmann + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA @@ -20,12 +20,17 @@ #ifndef RXVT_IOM_CONF_H__ #define RXVT_IOM_CONF_H__ -#include +#include "rxvtutil.h" -#define IOM_IO 1 -#define IOM_TIME 1 +#define IOM_IO 1 +#define IOM_TIME 1 #define IOM_CHECK 1 -#define IOM_SIG 1 +#define IOM_SIG 1 +#define IOM_IDLE 1 +#define IOM_CHILD 1 + +#include "libptytty.h" +#define IOM_PREINIT ptytty::sanitise_stdfd (); #endif