diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-21 16:22:20 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:12:01 +0200 |
commit | 9534243f6849d1938195c1f27adaa5745056f138 (patch) | |
tree | bc992482d97560154af0a576d052c78cda6bb4ab /platform/gl | |
parent | 78c1264e14804a06c6d03072c8c57820fde4e148 (diff) | |
download | mupdf-9534243f6849d1938195c1f27adaa5745056f138.tar.xz |
Include required system headers.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-font.c | 5 | ||||
-rw-r--r-- | platform/gl/gl-input.c | 2 | ||||
-rw-r--r-- | platform/gl/gl-main.c | 8 |
3 files changed, 15 insertions, 0 deletions
diff --git a/platform/gl/gl-font.c b/platform/gl/gl-font.c index 64c26711..efbba42a 100644 --- a/platform/gl/gl-font.c +++ b/platform/gl/gl-font.c @@ -14,6 +14,11 @@ #include "gl-app.h" +#include <string.h> +#include <math.h> +#include <stdlib.h> +#include <stdio.h> + #define PADDING 1 /* set to 0 to save some space but disallow arbitrary transforms */ #define MAXGLYPHS 4093 /* prime number for hash table goodness */ diff --git a/platform/gl/gl-input.c b/platform/gl/gl-input.c index 59aa37ac..7ea9bafa 100644 --- a/platform/gl/gl-input.c +++ b/platform/gl/gl-input.c @@ -1,5 +1,7 @@ #include "gl-app.h" +#include <string.h> + static void draw_string_part(float x, float y, const char *s, const char *e) { int c; diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 1d37a26c..338ed0dc 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -2,6 +2,14 @@ #include "mupdf/pdf.h" /* for pdf specifics and forms */ +#include <string.h> +#include <stdlib.h> +#include <stdio.h> + +#ifndef _WIN32 +#include <unistd.h> /* for fork and exec */ +#endif + enum { /* Screen furniture: aggregate size of unusable space from title bars, task bars, window borders, etc */ |