Gcc reports error "vhost_user.c:665: error: ‘MADV_DONTDUMP’ undeclared (first use in this function)" when build in CentOS-6, include <asm/mman.h> fixes it. Change-Id: I1b19c0cb6424a8c5ad1e1dd7d1c724edeb06e171 Signed-off-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-on: https://review.gerrithub.io/428912 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
fd_man.c | ||
fd_man.h | ||
Makefile | ||
rte_vhost.h | ||
socket.c | ||
vhost_user.c | ||
vhost_user.h | ||
vhost.c | ||
vhost.h |