diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-05-08 05:31:43 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-05-08 05:31:43 -0400 |
commit | 1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a (patch) | |
tree | 880e1fed8f48ccfd5fdb383e0990355e0b755fd0 /src/pty-unix.c | |
parent | 26e1ede47e62fe80c8b899847e5205cd60f130a9 (diff) | |
download | runes-1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a.tar.gz runes-1638a5e8a90f0f0a6d46cdf3ff9f2393c45c248a.zip |
abstract out error logging a bit
just spitting things to stderr isn't always going to be good enough, so
let's at least provide one place to change that when necessary
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r-- | src/pty-unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c index 82a3809..b43ae6f 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -1,5 +1,6 @@ #define _XOPEN_SOURCE 600 #include <fcntl.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> |