diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-09 15:39:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-09 15:39:13 +0000 |
commit | 514a723f7489123371bded176355ead48f338ae0 (patch) | |
tree | 7b6eb1603b6669aa5d4da61409ed6865b9311614 /compat.h | |
parent | 5d3296c53b820664d50d96b2b926f2c2c1105e97 (diff) |
Solaris fixes, mostly from Dagobert Michelsen.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -22,6 +22,7 @@ #include <limits.h> #include <stdio.h> +#include <termios.h> #include <wchar.h> #ifndef __GNUC__ @@ -57,6 +58,15 @@ typedef uint32_t u_int32_t; typedef uint64_t u_int64_t; #endif +#ifdef HAVE_ERR_H +#include <err.h> +#else +void err(int, const char *, ...); +void errx(int, const char *, ...); +void warn(const char *, ...); +void warnx(const char *, ...); +#endif + #ifndef HAVE_PATHS_H #define _PATH_BSHELL "/bin/sh" #define _PATH_TMP "/tmp/" |