]> sjero.net Git - wget/blobdiff - src/openssl.c
Remove redundant guard.
[wget] / src / openssl.c
index e0a30fc722ee09c44388feda7c909ad3b0eae2ed..0376614d0650aa95a6a65abcb98b9eaa7a18264b 100644 (file)
@@ -33,9 +33,7 @@ as that of the covered work.  */
 
 #include <assert.h>
 #include <errno.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 #include <string.h>
 
 #include <openssl/ssl.h>
@@ -398,7 +396,7 @@ ssl_connect_wget (int fd)
   if (!conn)
     goto error;
 #ifndef FD_TO_SOCKET
-# define FD_TO_SOCKET(x) (x)
+# define FD_TO_SOCKET(X) (X)
 #endif
   if (!SSL_set_fd (conn, FD_TO_SOCKET (fd)))
     goto error;