1 /* cairo - a vector graphics library with display and print output
3 * Copyright © 2006 Red Hat, Inc.
4 * Copyright © 2011 Andrea Canciani
6 * Permission to use, copy, modify, distribute, and sell this software
7 * and its documentation for any purpose is hereby granted without
8 * fee, provided that the above copyright notice appear in all copies
9 * and that both that copyright notice and this permission notice
10 * appear in supporting documentation, and that the name of the
11 * copyright holders not be used in advertising or publicity
12 * pertaining to distribution of the software without specific,
13 * written prior permission. The copyright holders make no
14 * representations about the suitability of this software for any
15 * purpose. It is provided "as is" without express or implied
18 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
19 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
20 * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
22 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
23 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
24 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
27 * Authors: Carl Worth <cworth@cworth.org>
28 * Andrea Canciani <ranma42@gmail.com>
31 #ifndef CAIRO_MISSING_H
32 #define CAIRO_MISSING_H
34 #include "cairo-compiler-private.h"
38 #include <sys/types.h>
41 #define WIN32_LEAN_AND_MEAN
44 #ifndef _SSIZE_T_DEFINED
45 typedef SSIZE_T ssize_t;
51 getline (char **lineptr, size_t *n, FILE *stream);
56 strndup (const char *s, size_t n);