Added better sanity checks in Diffie-Hellman key exchange.
[gnutls.git] / gl / sys_types.in.h
blob574fe518ea3a65deee68bf9cdc4e43eb7d89adae
1 /* Provide a more complete sys/types.h.
3 Copyright (C) 2011-2012 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
8 any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, see <http://www.gnu.org/licenses/>. */
18 #if __GNUC__ >= 3
19 @PRAGMA_SYSTEM_HEADER@
20 #endif
21 @PRAGMA_COLUMNS@
23 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
25 /* The include_next requires a split double-inclusion guard. */
26 #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@
28 #ifndef _@GUARD_PREFIX@_SYS_TYPES_H
29 #define _@GUARD_PREFIX@_SYS_TYPES_H
31 /* MSVC 9 defines size_t in <stddef.h>, not in <sys/types.h>. */
32 /* But avoid namespace pollution on glibc systems. */
33 #if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \
34 && ! defined __GLIBC__
35 # include <stddef.h>
36 #endif
38 #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */
39 #endif /* _@GUARD_PREFIX@_SYS_TYPES_H */