~mirabilos/klibc/master

Viewing all changes in revision 2105.

  • Committer: Ben Hutchings
  • Author(s): Barret Rhoden
  • Date: 2019-04-11 22:40:06 UTC
  • Revision ID: git-v1:d4853d030639cf3542ae39129c18b654d8d4f020
Fix missing include in sys/mman.h

Linux commit 746c9398f5ac ("arch: move common mmap flags to
linux/mman.h") moved a few mmap flags, particularly MAP_PRIVATE, from
asm/mman.h to linux/mman.h.  This broke klibc's build, which uses
MAP_PRIVATE.

linux/mman.h includes asm/mman.h, so this commit merely includes
linux/mman.h instead of asm/mman.h.

Signed-off-by: Barret Rhoden <brho@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: