client: Implement get_peer for FreeBSD
This commit is contained in:
parent
e129536a08
commit
2f54beb5fe
2 changed files with 21 additions and 2 deletions
|
@ -17,8 +17,8 @@
|
|||
#elif defined(__FreeBSD__)
|
||||
#include <sys/consio.h>
|
||||
#include <sys/kbio.h>
|
||||
#define TTY0 "/dev/ttyv0"
|
||||
#define TTYF "/dev/ttyv%d"
|
||||
#define TTY0 "/dev/ttyv0"
|
||||
#define TTYF "/dev/ttyv%d"
|
||||
#define K_ON K_XLATE
|
||||
#define K_OFF K_CODE
|
||||
#define FRSIG SIGIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue