Revert "Revert ABI version, make libgnutls-extra use another ABI version."
[gnutls.git] / lib / defines.h
blob3cb6fb280de807585695a3e1aba7efe072f349a9
1 /*
2 * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
4 * Author: Nikos Mavrogiannopoulos
6 * This file is part of GNUTLS.
8 * The GNUTLS library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21 * USA
25 #ifndef DEFINES_H
26 # define DEFINES_H
28 #if HAVE_CONFIG_H
29 # include <config.h>
30 #endif
32 #include <stddef.h>
33 #include <string.h>
34 #include <stdlib.h>
35 #include <stdio.h>
36 #include <ctype.h>
37 #include <limits.h>
38 #include <stdint.h>
40 #ifdef NO_SSIZE_T
41 # define HAVE_SSIZE_T
42 typedef int ssize_t;
43 #endif
45 #include <sys/types.h>
46 #include <unistd.h>
47 #include <sys/stat.h>
48 #include <sys/socket.h>
49 #include <time.h>
51 /* some systems had problems with long long int, thus,
52 * it is not used.
54 typedef struct
56 unsigned char i[8];
57 } uint64;
59 #endif /* defines_h */