]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Only include cryptodev.h if cryptodev is there.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 29 Nov 2009 22:12:29 +0000 (00:12 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 29 Nov 2009 22:12:29 +0000 (00:12 +0200)
lib/cryptodev.c

index 92cc740f6ef5926e3dd52e33da89234fa5f973ee..d8293bd1da7931f962924d7fba365d8ad5fcc7a9 100644 (file)
 #include <gnutls_int.h>
 #include <sys/ioctl.h>
 #include <fcntl.h>
-#include <crypto/cryptodev.h>
 #include <gnutls/crypto.h>
 
 #ifdef ENABLE_CRYPTODEV
 
+#include <crypto/cryptodev.h>
+
 #ifndef CRYPTO_CIPHER_MAX_KEY_LEN
 # define CRYPTO_CIPHER_MAX_KEY_LEN 64
 #endif