diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-24 10:05:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-24 10:05:53 +0000 |
commit | 2e5664d2df02a902300f8f67b4eefe0309bde5b9 (patch) | |
tree | 0696b121ca98ddf1f011bd307040634f9464d096 /compat/asprintf.c | |
parent | e87d808594e48a4c80d201d07fb86fbb9548409e (diff) | |
download | rtmux-2e5664d2df02a902300f8f67b4eefe0309bde5b9.tar.gz rtmux-2e5664d2df02a902300f8f67b4eefe0309bde5b9.tar.bz2 rtmux-2e5664d2df02a902300f8f67b4eefe0309bde5b9.zip |
Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some
bits it doesn't.
Diffstat (limited to 'compat/asprintf.c')
-rw-r--r-- | compat/asprintf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/compat/asprintf.c b/compat/asprintf.c index 2b53dbe2..95d78430 100644 --- a/compat/asprintf.c +++ b/compat/asprintf.c @@ -14,15 +14,14 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <stdarg.h> #include <stdio.h> -#ifdef HAVE_STDINT_H -#include <stdint.h> -#else -#include <inttypes.h> -#endif #include <string.h> +#include "compat.h" + int asprintf(char **ret, const char *fmt, ...) { |