Skip to content

Commit ed5112b

Browse files
mobbitsterstephanosio
authored andcommitted
qemu: Do not include file if not exists
Script configure checks for if_alg.h and check failed but if_alg.h still included. Upstream-Status: Submitted [https://lists.gnu.org/archive/html/qemu-devel/2020-03/msg07188.html] Signed-off-by: Oleksiy Obitotskyy <[email protected]> [update patch context] Signed-off-by: Sakib Sajal <[email protected]>
1 parent f7660c5 commit ed5112b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

linux-user/syscall.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@
118118
#include <linux/blkpg.h>
119119
#include <netpacket/packet.h>
120120
#include <linux/netlink.h>
121+
#if defined(CONFIG_AF_ALG)
121122
#include <linux/if_alg.h>
123+
#endif
122124
#include <linux/rtc.h>
123125
#include <sound/asound.h>
124126
#ifdef HAVE_BTRFS_H

0 commit comments

Comments
 (0)