diff options
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/agetty.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 2ac0644df..1aafe72a1 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -45,15 +45,16 @@ #include "widechar.h" #include "ttyutils.h" +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif + #if defined(__FreeBSD_kernel__) #include <pty.h> -#include <sys/param.h> #endif - #ifdef __linux__ # include <sys/kd.h> -# include <sys/param.h> # define USE_SYSLOG # ifndef DEFAULT_VCTERM # define DEFAULT_VCTERM "linux" |