Uhmmm, if we use && after having tested for the presence of the certificate,
[oweals/openssl.git] / crypto / uid.c
index d3d249c36fd5cd406fd28935712e4cb93ac1012f..b5b61b76d4e35e1c9dc85729e945213f75994906 100644 (file)
  */
 
 #include <openssl/crypto.h>
-#include <openssl/opensslconf.h>
 
 #if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2)
 
-#include OPENSSL_UNISTD
+#include <unistd.h>
 
 int OPENSSL_issetugid(void)
        {
        return issetugid();
        }
 
-#elif defined(OPENSSL_SYS_WIN32)
+#elif defined(WIN32)
 
 int OPENSSL_issetugid(void)
        {
@@ -74,7 +73,7 @@ int OPENSSL_issetugid(void)
 
 #else
 
-#include OPENSSL_UNISTD
+#include <unistd.h>
 #include <sys/types.h>
 
 int OPENSSL_issetugid(void)