aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:16:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commit42f7a448dbc5d550b1d7f0ee6b622acccaed1d12 (patch)
treed8d6bebe5d5deb9d7f2efdb0b997c56745f6dcfc /crypto
parent1393a48526078cda985759c459de9bc803e0e4fe (diff)
crypto: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'crypto')
-rw-r--r--crypto/aes.c1
-rw-r--r--crypto/cipher-builtin.c1
-rw-r--r--crypto/cipher-gcrypt.c1
-rw-r--r--crypto/cipher-nettle.c1
-rw-r--r--crypto/cipher.c1
-rw-r--r--crypto/desrfb.c1
-rw-r--r--crypto/hash.c1
-rw-r--r--crypto/init.c1
-rw-r--r--crypto/secret.c1
-rw-r--r--crypto/tlscreds.c1
-rw-r--r--crypto/tlscredsanon.c1
-rw-r--r--crypto/tlscredsx509.c1
-rw-r--r--crypto/tlssession.c1
13 files changed, 13 insertions, 0 deletions
diff --git a/crypto/aes.c b/crypto/aes.c
index 244a388eba..3456eacd08 100644
--- a/crypto/aes.c
+++ b/crypto/aes.c
@@ -27,6 +27,7 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "crypto/aes.h"
diff --git a/crypto/cipher-builtin.c b/crypto/cipher-builtin.c
index 39e31a7f42..138b7a005a 100644
--- a/crypto/cipher-builtin.c
+++ b/crypto/cipher-builtin.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/aes.h"
#include "crypto/desrfb.h"
diff --git a/crypto/cipher-gcrypt.c b/crypto/cipher-gcrypt.c
index c4f811487a..56d4c9d10b 100644
--- a/crypto/cipher-gcrypt.c
+++ b/crypto/cipher-gcrypt.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include <gcrypt.h>
diff --git a/crypto/cipher-nettle.c b/crypto/cipher-nettle.c
index 7449338d3b..cd2675c0bc 100644
--- a/crypto/cipher-nettle.c
+++ b/crypto/cipher-nettle.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include <nettle/nettle-types.h>
#include <nettle/aes.h>
#include <nettle/des.h>
diff --git a/crypto/cipher.c b/crypto/cipher.c
index 7c333486d2..076dff023c 100644
--- a/crypto/cipher.c
+++ b/crypto/cipher.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/cipher.h"
diff --git a/crypto/desrfb.c b/crypto/desrfb.c
index fc20a30dfe..ec47dea3bb 100644
--- a/crypto/desrfb.c
+++ b/crypto/desrfb.c
@@ -26,6 +26,7 @@
* (GEnie : OUTER; CIS : [71755,204]) Graven Imagery, 1992.
*/
+#include "qemu/osdep.h"
#include "crypto/desrfb.h"
static void scrunch(unsigned char *, unsigned long *);
diff --git a/crypto/hash.c b/crypto/hash.c
index 6e83f43e4a..33324b6d06 100644
--- a/crypto/hash.c
+++ b/crypto/hash.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/hash.h"
#ifdef CONFIG_GNUTLS_HASH
diff --git a/crypto/init.c b/crypto/init.c
index d94faacdf2..31eea19bc9 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/init.h"
#include "qemu/thread.h"
diff --git a/crypto/secret.c b/crypto/secret.c
index a799da1bdb..90592c0a3e 100644
--- a/crypto/secret.c
+++ b/crypto/secret.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/secret.h"
#include "crypto/cipher.h"
#include "qom/object_interfaces.h"
diff --git a/crypto/tlscreds.c b/crypto/tlscreds.c
index e7d9c1cfac..38bb671198 100644
--- a/crypto/tlscreds.c
+++ b/crypto/tlscreds.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/tlscredspriv.h"
#include "trace.h"
diff --git a/crypto/tlscredsanon.c b/crypto/tlscredsanon.c
index c3fcdaff06..55e2047b76 100644
--- a/crypto/tlscredsanon.c
+++ b/crypto/tlscredsanon.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/tlscredsanon.h"
#include "crypto/tlscredspriv.h"
#include "qom/object_interfaces.h"
diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c
index d58fdea347..8664b825bf 100644
--- a/crypto/tlscredsx509.c
+++ b/crypto/tlscredsx509.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/tlscredsx509.h"
#include "crypto/tlscredspriv.h"
#include "crypto/secret.h"
diff --git a/crypto/tlssession.c b/crypto/tlssession.c
index 373552942c..e0d9658e80 100644
--- a/crypto/tlssession.c
+++ b/crypto/tlssession.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "crypto/tlssession.h"
#include "crypto/tlscredsanon.h"
#include "crypto/tlscredsx509.h"