summaryrefslogtreecommitdiff
path: root/tests/test-crypto-tlssession.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-08 18:08:51 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-16 14:29:27 +0000
commit681c28a33e305923a717815808056d2d5a89c8f9 (patch)
tree1917eef57033f4efb2638a584b2914112219ad41 /tests/test-crypto-tlssession.c
parent07b096b41873bd64d01c7d59e43066793ef0e95c (diff)
downloadqemu-681c28a33e305923a717815808056d2d5a89c8f9.tar.gz
qemu-681c28a33e305923a717815808056d2d5a89c8f9.tar.bz2
qemu-681c28a33e305923a717815808056d2d5a89c8f9.zip
tests: 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> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/test-crypto-tlssession.c')
-rw-r--r--tests/test-crypto-tlssession.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-crypto-tlssession.c b/tests/test-crypto-tlssession.c
index 4524128fca..036a86b0c3 100644
--- a/tests/test-crypto-tlssession.c
+++ b/tests/test-crypto-tlssession.c
@@ -18,10 +18,8 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
-#include <stdlib.h>
-#include <fcntl.h>
+#include "qemu/osdep.h"
-#include "config-host.h"
#include "crypto-tls-x509-helpers.h"
#include "crypto/tlscredsx509.h"
#include "crypto/tlssession.h"