Improve make depend.
[openssl.git] / crypto / engine / eng_cryptodev.c
index 65fc29e4729ea88c1c611ff46b98e70b5ad3e49e..c67ecc5515b5f647bbc3e2a06da7915209dfd8e6 100644 (file)
 # endif
 #endif
 
+#include <sys/types.h>
+#ifdef HAVE_CRYPTODEV
+# include <crypto/cryptodev.h>
+#endif
+#include <openssl/dh.h>
+#include <openssl/dsa.h>
+#include <openssl/err.h>
+#include <openssl/rsa.h>
+#include <sys/ioctl.h>
+#include <errno.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <stdarg.h>
+#include <syslog.h>
+#include <errno.h>
+#include <string.h>
+
 #ifndef HAVE_CRYPTODEV
 
 void ENGINE_load_cryptodev(void)
@@ -52,22 +70,6 @@ void ENGINE_load_cryptodev(void)
 
 #else
 
-# include <sys/types.h>
-# include <crypto/cryptodev.h>
-# include <openssl/dh.h>
-# include <openssl/dsa.h>
-# include <openssl/err.h>
-# include <openssl/rsa.h>
-# include <sys/ioctl.h>
-# include <errno.h>
-# include <stdio.h>
-# include <unistd.h>
-# include <fcntl.h>
-# include <stdarg.h>
-# include <syslog.h>
-# include <errno.h>
-# include <string.h>
-
 struct dev_crypto_state {
     struct session_op d_sess;
     int d_fd;