diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-04-30 19:20:56 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-04-30 19:20:56 -0400 |
commit | 8ea48710dc933cd5dd52fb7d0c29eb8994a5d160 (patch) | |
tree | e1d8b966fdf60fcfe2c3c85a33ce6263dcf0beda /perf/cairo-perf.c | |
parent | fbc8bf05033a652d26c1defa56d12183e4009870 (diff) | |
download | cairo-8ea48710dc933cd5dd52fb7d0c29eb8994a5d160.tar.gz |
[perf] Check availability before including nonstandard headers
Diffstat (limited to 'perf/cairo-perf.c')
-rw-r--r-- | perf/cairo-perf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index af06bb695..360f2ddb6 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -27,12 +27,16 @@ */ #include "cairo-perf.h" -#include "config.h" /* For getopt */ +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + /* For basename */ +#ifdef HAVE_LIBGEN_H #include <libgen.h> +#endif #if HAVE_FCFINI #include <fontconfig/fontconfig.h> |