From 989d9efab94f0969663cfc8f562406d54b87ae6b Mon Sep 17 00:00:00 2001 From: alexander-gorshenev Date: Thu, 5 Oct 2017 15:15:18 +0300 Subject: [PATCH] A little more tweaks for linux.def to work on MIPS and RaspberryPi. --- klib/src/platform/linux/linux.def | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/klib/src/platform/linux/linux.def b/klib/src/platform/linux/linux.def index 5470df67eb3..fd9a4ba2d97 100644 --- a/klib/src/platform/linux/linux.def +++ b/klib/src/platform/linux/linux.def @@ -16,13 +16,13 @@ headers = aio.h aliases.h a.out.h argp.h argz.h byteswap.h cpio.h crypt.h \ netinet/if_ether.h net/if_packet.h \ netinet/ether.h linux/in6.h netpacket/packet.h \ sys/acct.h sys/auxv.h sys/bitypes.h sys/cdefs.h \ - sys/debugreg.h sys/dir.h sys/epoll.h sys/errno.h \ + sys/dir.h sys/epoll.h sys/errno.h \ sys/eventfd.h sys/fanotify.h sys/fcntl.h \ sys/file.h sys/fsuid.h sys/gmon.h sys/gmon_out.h \ - sys/inotify.h sys/io.h sys/kdaemon.h sys/kd.h sys/klog.h sys/mount.h \ - sys/msg.h sys/mtio.h sys/param.h sys/pci.h sys/perm.h \ + sys/inotify.h sys/kd.h sys/klog.h sys/mount.h \ + sys/msg.h sys/mtio.h sys/param.h sys/pci.h \ sys/personality.h sys/prctl.h sys/procfs.h sys/profil.h \ - sys/raw.h sys/reboot.h sys/reg.h sys/resource.h \ + sys/raw.h sys/reboot.h sys/resource.h \ sys/sem.h sys/sendfile.h sys/signalfd.h sys/signal.h \ sys/socket.h sys/socketvar.h sys/soundcard.h sys/statfs.h \ sys/statvfs.h sys/stropts.h sys/swap.h sys/syscall.h \ @@ -33,5 +33,8 @@ headers = aio.h aliases.h a.out.h argp.h argz.h byteswap.h cpio.h crypt.h \ sys/ustat.h utime.h sys/utsname.h sys/vfs.h sys/vlimit.h \ sys/vt.h sys/vtimes.h sys/xattr.h +headers.x86-64 = sys/debugreg.h sys/reg.h sys/io.h sys/perm.h sys/kdaemon.h + compilerOpts = -D_ANSI_SOURCE -D_POSIX_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 depends = posix +