--- ./lib/cib/cib_remote.c.orig +++ ./lib/cib/cib_remote.c @@ -53,7 +53,7 @@ #endif #include -#ifndef ON_BSD +#ifdef HAVE_SGTTY_H # include #endif