mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-22 18:14:09 +00:00
Include <errno.h> for global errno
At least on OpenBSD the symbol `errno` is otherwise not defined; it is used in the `SSO()` macro and `send_authorized_keys()` function.
This commit is contained in:
parent
9e3e39d66d
commit
339e6c4357
2 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <event.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue