get rid of sys/types.h

This commit is contained in:
Dusan Cervenka (nxa14949) 2018-07-19 16:08:33 +02:00
parent e5b3f9addd
commit 0fb92dc65b
1 changed files with 9 additions and 1 deletions

View File

@ -35,6 +35,10 @@
extern "C" {
#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stdlib.h>
#if defined(_MSC_VER) && (_MSC_VER < 1800)
/* MSVC < 2013 does not have inttypes.h because it is not C99
@ -44,7 +48,11 @@ extern "C" {
#else /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */
# include <inttypes.h>
#endif /* !defined(_MSC_VER) || (_MSC_VER >= 1800) */
#include <sys/types.h>
#if !defined(HAS_NO_SYS_TYPES)
# include <sys/types.h>
#endif
#include <stdarg.h>
#include <nghttp2/nghttp2ver.h>