From 5c82098d22ecd325b96c1916d9a39f3c8c2b8603 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sun, 27 Jan 2013 00:39:31 +1030 Subject: [PATCH] Fix build on legacy systems that don't have off_t in stdio.h Bug 44085 --- goo/gtypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/goo/gtypes.h b/goo/gtypes.h index 6e9c1ac..7fd2ee3 100644 --- a/goo/gtypes.h +++ b/goo/gtypes.h @@ -26,6 +26,10 @@ #include "poppler-config.h" #include // for off_t +#ifndef _WIN32 +#include // some legacy systems don't define off_t in stdio.h +#endif + /* * These have stupid names to avoid conflicts with some (but not all) -- 1.7.10.4