diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-04 19:56:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-04 19:56:57 +0000 |
commit | 84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca (patch) | |
tree | 57479316a7a27741eab68ab5f1df99dd7f0f62dc /sim/bfin/configure.ac | |
parent | 6597b100b5034a27219b7c5823af25747f4d27f5 (diff) | |
download | gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.zip gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.tar.gz gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.tar.bz2 |
sim: bfin: drop old linux/mii.h workarounds
We had some workarounds for old linux/mii.h headers, but it breaks with
newer ones. So tweak the checks a bit to work with newer ones. We'll
worry about older systems once someone complains.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/configure.ac')
-rw-r--r-- | sim/bfin/configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sim/bfin/configure.ac b/sim/bfin/configure.ac index 1917c01..cda3ac9 100644 --- a/sim/bfin/configure.ac +++ b/sim/bfin/configure.ac @@ -45,7 +45,14 @@ SIM_AC_OPTION_HARDWARE(yes,,\ ) AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread]) -AC_CHECK_HEADERS([sys/ioctl.h sys/mman.h net/if.h linux/if_tun.h linux/mii.h]) +AC_CHECK_HEADERS([ \ + linux/if_tun.h \ + linux/mii.h \ + linux/types.h \ + net/if.h \ + sys/ioctl.h \ + sys/mman.h \ +]) BFIN_SIM_EXTRA_OBJS= |