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

Reviewed-by: chegar
This commit is contained in:
Michael McMahon 2011-02-24 18:35:17 +00:00
parent 60bf44dc75
commit 9685a7a509
3 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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>

View File

@ -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"