diff options
author | Nikhil Benesch <nikhil.benesch@gmail.com> | 2020-10-13 06:36:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-10-14 13:56:01 -0700 |
commit | dc570700beab4080040884690deb6016090b4fa8 (patch) | |
tree | 0071ca0e6830bbe09ffaa032f217a587a5345dc1 /libgo/configure.ac | |
parent | ca56d576241c6783eb36eea526b42c4f3fbf697b (diff) | |
download | gcc-dc570700beab4080040884690deb6016090b4fa8.tar.gz |
libgo: export NetBSD-specific types in mksysinfo.sh
The syscall package depends on many NetBSD-specific types on NetBSD.
Teach mksysinfo.sh to export these types.
This alone is not sufficient to get the syscall package to compile on
NetBSD, but it's a start.
Note that the IfMsgHdr type is recapitalized to IfMsghdr, which requires
changes in the AIX port. The new capitalization is what's used by
upstream in existing NetBSD-specific code and is more consistent with
the capitalization of other C structs with the "hdr" suffix.
Updates golang/go#38538.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/261739
Diffstat (limited to 'libgo/configure.ac')
-rw-r--r-- | libgo/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/configure.ac b/libgo/configure.ac index 9a10d3305ab..f87ab65e3ba 100644 --- a/libgo/configure.ac +++ b/libgo/configure.ac @@ -580,7 +580,7 @@ AC_C_BIGENDIAN GCC_CHECK_UNWIND_GETIPINFO -AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h) +AC_CHECK_HEADERS(port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/sysctl.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/bpf.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/ptrace.h linux/reboot.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h) AC_CHECK_HEADERS([netinet/icmp6.h], [], [], [#include <netinet/in.h> |