summaryrefslogtreecommitdiffstats
path: root/block.c
diff options
context:
space:
mode:
authorPeter Maydell2016-01-29 18:50:05 +0100
committerPeter Maydell2016-02-04 18:41:30 +0100
commitd38ea87ac54af64ef611de434d07c12dc0399216 (patch)
tree58bf1154cf210524d587a66cf3605adb5ada6489 /block.c
parentcontrib: Clean up includes (diff)
downloadqemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.gz
qemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.xz
qemu-d38ea87ac54af64ef611de434d07c12dc0399216.zip
all: 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: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'block.c')
-rw-r--r--block.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/block.c b/block.c
index dff3a3a3f9..efc3c43f89 100644
--- a/block.c
+++ b/block.c
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#include "config-host.h"
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "trace.h"
#include "block/block_int.h"
@@ -42,8 +42,6 @@
#include "block/throttle-groups.h"
#ifdef CONFIG_BSD
-#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/queue.h>
#ifndef __DragonFly__