--- a/redir.c +++ b/redir.c @@ -31,6 +31,7 @@ #endif #include "filecntl.h" #include "posixstat.h" +#include "trap.h" #if defined (HAVE_UNISTD_H) # include