--- getpass.c +++ getpass.c @@ -35,7 +35,7 @@ #include #include -#ifndef linux +#if !defined(linux) && !defined(__FreeBSD__) #include #endif #include @@ -45,7 +45,7 @@ #include "cfs.h" #include "shs.h" -#if defined(irix) || defined(linux) +#if defined(irix) || defined(linux) || defined(__FreeBSD__) /* hacks to use POSIX style termios instead of old BSD style sgttyb */ #include #define sgttyb termios