Commit b379fe6c authored by Richard Levitte's avatar Richard Levitte
Browse files

NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard



This is a vestige from pre-1.1.0 OpenSSL

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4256)
parent 0a8ddc17
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -18,9 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef NO_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifndef OPENSSL_NO_POSIX_IO
# include <sys/stat.h>
# include <fcntl.h>
+1 −4
Original line number Diff line number Diff line
@@ -9,13 +9,10 @@

#include <stdio.h>
#include <time.h>
#include <sys/types.h>

#include "internal/cryptlib.h"

#ifndef NO_SYS_TYPES_H
# include <sys/types.h>
#endif

#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/buffer.h>
+1 −4
Original line number Diff line number Diff line
@@ -9,13 +9,10 @@

#include <stdio.h>
#include <time.h>
#include <sys/types.h>

#include "internal/cryptlib.h"

#ifndef NO_SYS_TYPES_H
# include <sys/types.h>
#endif

#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
+1 −4
Original line number Diff line number Diff line
@@ -9,13 +9,10 @@

#include <stdio.h>
#include <time.h>
#include <sys/types.h>

#include "internal/cryptlib.h"

#ifndef NO_SYS_TYPES_H
# include <sys/types.h>
#endif

#include <openssl/bn.h>
#include <openssl/x509.h>
#include <openssl/objects.h>
+1 −3
Original line number Diff line number Diff line
@@ -21,9 +21,7 @@
#ifdef OPENSSL_SYS_VMS
# include <unixio.h>
#endif
#ifndef NO_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifndef OPENSSL_NO_POSIX_IO
# include <sys/stat.h>
# include <fcntl.h>
Loading