summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKlotz, Tobias <tobias.klotz@draeger.com>2018-12-20 12:59:31 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-01-24 17:58:27 +0100
commitb6d41ff73392df5af9c931c902ae4cd75c5b61ea (patch)
treed3bf7688e6604ea6d6c40ad5e9076e53becda50a /include
parent8e3df4012a8177b89707ebec249be417508c8c7f (diff)
Cleanup vxworks support to be able to compile for VxWorks 7
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7569) (cherry picked from commit 5c8b7b4caa0faedb69277063a7c6b3a8e56c6308)
Diffstat (limited to 'include')
-rw-r--r--include/internal/sockets.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/internal/sockets.h b/include/internal/sockets.h
index a6026dad08..18e4d3d89a 100644
--- a/include/internal/sockets.h
+++ b/include/internal/sockets.h
@@ -72,11 +72,7 @@ struct servent *PASCAL getservbyname(const char *, const char *);
# else
# include <sys/socket.h>
# ifndef NO_SYS_UN_H
-# ifdef OPENSSL_SYS_VXWORKS
-# include <streams/un.h>
-# else
-# include <sys/un.h>
-# endif
+# include <sys/un.h>
# ifndef UNIX_PATH_MAX
# define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
# endif