NeXT doesn't have dirent.
authorUlf Möller <ulf@openssl.org>
Thu, 20 May 1999 17:58:42 +0000 (17:58 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 20 May 1999 17:58:42 +0000 (17:58 +0000)
Pointed out by Juergen Moellenhoff <jurgen@oic.de>

ssl/ssl_cert.c

index bd68730..9a8a8cc 100644 (file)
 
 #include <stdio.h>
 #include <sys/types.h>
-#ifndef WIN32
-#ifndef VMS
+#if !defined(WIN32) && !defined(VSM) && !defined(NeXT)
 #include <dirent.h>
 #endif
+#ifdef NeXT
+#include <sys/dir.h>
+#define dirent direct
 #endif
 #include <openssl/objects.h>
 #include <openssl/bio.h>