提交 30b7b302 编写于 作者: M michaelm

6835668: Use of /usr/include/linux/ files creates a dependence on kernel-headers

Reviewed-by: chegar
上级 e91ac6b6
......@@ -45,7 +45,6 @@
#ifdef __linux__
#include <sys/ioctl.h>
#include <bits/ioctls.h>
#include <linux/sockios.h>
#include <sys/utsname.h>
#include <stdio.h>
#endif
......
......@@ -34,8 +34,8 @@
#include <fcntl.h>
#endif
#ifdef __linux__
#include <linux/unistd.h>
#include <linux/sysctl.h>
#include <unistd.h>
#include <sys/sysctl.h>
#include <sys/utsname.h>
#include <netinet/ip.h>
......
......@@ -42,8 +42,8 @@
#include <fcntl.h>
#endif
#ifdef __linux__
#include <linux/unistd.h>
#include <linux/sysctl.h>
#include <unistd.h>
#include <sys/sysctl.h>
#endif
#include "jvm.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册