diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-04 04:41:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-04 04:41:30 -0400 |
commit | 539c5536b23f176527db587faa1f738e06d5c1d5 (patch) | |
tree | f192510d0b084f0ab71cd813c06d42cf1f24cb2f /src | |
parent | d1469253f2ea0341f4bacd484f1a4e47b33bab52 (diff) | |
download | runes-539c5536b23f176527db587faa1f738e06d5c1d5.tar.gz runes-539c5536b23f176527db587faa1f738e06d5c1d5.zip |
make sure we include errno.h everywhere necessary
Diffstat (limited to 'src')
-rw-r--r-- | src/pty-unix.c | 1 | ||||
-rw-r--r-- | src/runesc.c | 1 | ||||
-rw-r--r-- | src/socket.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c index cf2fe0d..e21b3bb 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -1,4 +1,5 @@ #define _XOPEN_SOURCE 600 +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/runesc.c b/src/runesc.c index 8ee0d2a..7b57ac8 100644 --- a/src/runesc.c +++ b/src/runesc.c @@ -1,4 +1,5 @@ #include <arpa/inet.h> +#include <errno.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> diff --git a/src/socket.c b/src/socket.c index 48c0d00..8e3d37a 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1,4 +1,5 @@ #include <arpa/inet.h> +#include <errno.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> |