[view] Clean up includes

This commit is contained in:
Behdad Esfahbod 2022-12-29 21:01:16 -07:00
parent 2bbc57c3c4
commit 969914b2b5
3 changed files with 4 additions and 8 deletions

View File

@ -35,12 +35,7 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for isatty() */
#endif
#if defined (_MSC_VER) && (_MSC_VER < 1800)
static inline long int

View File

@ -33,6 +33,10 @@
# include "helper-cairo-ft.hh"
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for isatty() */
#endif
#include <cairo.h>
#include <hb.h>
#include <hb-cairo.h>

View File

@ -38,9 +38,6 @@
#include <locale.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* for isatty() */
#endif
#if defined(_WIN32) || defined(__CYGWIN__)
#include <io.h> /* for setmode() under Windows */
#endif