Attempt to fix port after usb2 import.
Submitted by: ed
This commit is contained in:
parent
17340ce55c
commit
f19d54a496
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229262
20
security/cfs/files/patch-getpass.c
Normal file
20
security/cfs/files/patch-getpass.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- getpass.c
|
||||
+++ getpass.c
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
-#ifndef linux
|
||||
+#if !defined(linux) && !defined(__FreeBSD__)
|
||||
#include <sgtty.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
@@ -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 <termios.h>
|
||||
#define sgttyb termios
|
Loading…
Reference in New Issue
Block a user