Changeset 139926 in webkit


Ignore:
Timestamp:
Jan 16, 2013 2:39:46 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Add missing sys/mman.h include on Mac
https://bugs.webkit.org/show_bug.cgi?id=98089

Patch by Jonathan Liu <net147@gmail.com> on 2013-01-16
Reviewed by Darin Adler.

The madvise function and MADV_FREE constant require sys/mman.h.

  • jit/ExecutableAllocatorFixedVMPool.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r139835 r139926  
     12013-01-16  Jonathan Liu  <net147@gmail.com>
     2
     3        Add missing sys/mman.h include on Mac
     4        https://bugs.webkit.org/show_bug.cgi?id=98089
     5
     6        Reviewed by Darin Adler.
     7
     8        The madvise function and MADV_FREE constant require sys/mman.h.
     9
     10        * jit/ExecutableAllocatorFixedVMPool.cpp:
     11
    1122013-01-15  Michael Saboff  <msaboff@apple.com>
    213
  • trunk/Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp

    r139812 r139926  
    3636#include <wtf/PageReservation.h>
    3737#include <wtf/VMTags.h>
     38
     39#if OS(DARWIN)
     40#include <sys/mman.h>
     41#endif
    3842
    3943#if OS(LINUX)
Note: See TracChangeset for help on using the changeset viewer.