개발블로그

 

https://patchwork.kernel.org/project/qemu-devel/patch/20190617114005.24603-1-berrange@redhat.com/#22706395

 

linux-user: fix includes to find SIOCGSTAMP with latest kernel headers - Patchwork

 

patchwork.kernel.org

 

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index b187c1281d..f13e260b02 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -37,6 +37,7 @@ 
 #include <sched.h>
 #include <sys/timex.h>
 #include <sys/socket.h>
+#include <linux/sockios.h>
 #include <sys/un.h>
 #include <sys/uio.h>
 #include <poll.h>

 

libcap 폴더  pcap-linux.c 에 #include <linux/sockios.h> 추가

'Linux' 카테고리의 다른 글

기본 서버 동작  (0) 2021.09.13
Kali-linux 명령어  (0) 2021.09.13
profile

개발블로그

@ORIONPOINT

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

검색 태그