diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-03-19 15:49:30 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-03-19 15:49:30 +0100 |
commit | 2c8519dc360163fd99968ec6f317a4a7c946da90 (patch) | |
tree | edeaa9abd29c512fc71bddaee4f107e3b74ebf86 /main.h | |
parent | build: add gnulib sources (diff) | |
download | portage-utils-2c8519dc360163fd99968ec6f317a4a7c946da90.tar.gz portage-utils-2c8519dc360163fd99968ec6f317a4a7c946da90.tar.bz2 portage-utils-2c8519dc360163fd99968ec6f317a4a7c946da90.zip |
q: fix misc issues found on Darwin
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,6 +17,7 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <stdint.h> #include "i18n.h" #include "colors.h" @@ -95,7 +96,7 @@ extern const char *argv0; #define opt_argument optional_argument /* we need the space before the last comma or we trigger a bug in gcc-2 :( */ -FILE *warnout; +extern FILE *warnout; #if defined OPTIMIZE_FOR_SIZE && (OPTIMIZE_FOR_SIZE > 1) #define warn(fmt, args...) #else |