projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct example.
[openssl.git]
/
e_os.h
diff --git
a/e_os.h
b/e_os.h
index c5ed54f3b2992bca2b52b1d845ab99a251512db0..4440ac28d7fee7900f5ebb5271bfabecc90ee8ea 100644
(file)
--- a/
e_os.h
+++ b/
e_os.h
@@
-579,6
+579,16
@@
static unsigned int _strlen31(const char *str)
# include <inet.h>
# else
# include <sys/socket.h>
# include <inet.h>
# else
# include <sys/socket.h>
+# ifndef NO_SYS_UN_H
+# ifdef OPENSSL_SYS_VXWORKS
+# include <streams/un.h>
+# else
+# include <sys/un.h>
+# endif
+# ifndef UNIX_PATH_MAX
+# define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)NULL)->sun_path)
+# endif
+# endif
# ifdef FILIO_H
# include <sys/filio.h> /* Added for FIONBIO under unixware */
# endif
# ifdef FILIO_H
# include <sys/filio.h> /* Added for FIONBIO under unixware */
# endif