export CPLUS_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/ export C_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/ 加入下面下行: #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> #include <sys/syscall.h> /* For SYS_xxx definitions */ ubuntu中syscall定义是放在头...
export CPLUS_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/ export C_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/ 加入下面下行: #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> #include <sys/syscall.h> /* For SYS_xxx definitions */ ubuntu中syscall定义是放在头...