diff options
Diffstat (limited to 'libXfont')
-rw-r--r-- | libXfont/src/FreeType/xttcap.c | 1 | ||||
-rw-r--r-- | libXfont/src/fontfile/fontdir.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libXfont/src/FreeType/xttcap.c b/libXfont/src/FreeType/xttcap.c index 104dc89e4..707845ed3 100644 --- a/libXfont/src/FreeType/xttcap.c +++ b/libXfont/src/FreeType/xttcap.c @@ -45,6 +45,7 @@ static char const * const releaseID = #include <string.h> #include <ctype.h> #include <math.h> +#include <unistd.h> #ifndef True #define True (-1) diff --git a/libXfont/src/fontfile/fontdir.c b/libXfont/src/fontfile/fontdir.c index ef7ffa561..13cda0a37 100644 --- a/libXfont/src/fontfile/fontdir.c +++ b/libXfont/src/fontfile/fontdir.c @@ -34,6 +34,8 @@ in this Software without prior written authorization from The Open Group. #include <X11/fonts/fntfilst.h> #include <X11/keysym.h> +#include <unistd.h> + #if HAVE_STDINT_H #include <stdint.h> #elif !defined(INT32_MAX) |