Author: Armin Rigo <ar...@tunes.org>
Branch: stm-thread-2
Changeset: r61586:56d318570490
Date: 2013-02-21 10:28 +0100
http://bitbucket.org/pypy/pypy/changeset/56d318570490/

Log:    Add a missing include.

diff --git a/rpython/rtyper/lltypesystem/llarena.py 
b/rpython/rtyper/lltypesystem/llarena.py
--- a/rpython/rtyper/lltypesystem/llarena.py
+++ b/rpython/rtyper/lltypesystem/llarena.py
@@ -418,7 +418,7 @@
 
     from rpython.rtyper.tool import rffi_platform
     from rpython.translator.tool.cbuild import ExternalCompilationInfo
-    _eci = ExternalCompilationInfo(includes=['sys/mman.h'])
+    _eci = ExternalCompilationInfo(includes=['sys/mman.h', 'unistd.h'])
     MADV_DONTNEED = rffi_platform.getconstantinteger('MADV_DONTNEED',
                                                      '#include <sys/mman.h>')
     linux_madvise = rffi.llexternal('madvise',
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to