aboutsummaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-03-19 15:49:30 +0100
committerFabian Groffen <grobian@gentoo.org>2019-03-19 15:49:30 +0100
commit2c8519dc360163fd99968ec6f317a4a7c946da90 (patch)
treeedeaa9abd29c512fc71bddaee4f107e3b74ebf86 /main.h
parentbuild: add gnulib sources (diff)
downloadportage-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.h b/main.h
index de4ba31..ef98c5d 100644
--- a/main.h
+++ b/main.h
@@ -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