From: Erwin Janssen Date: Sat, 24 Sep 2016 14:25:22 +0000 (+0200) Subject: Remove usage of _hdr_mman define. X-Git-Tag: untagged-5fc0363bc76319758ff6~1^2^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79d8d199d6b3ffd685275ee4cf3789f0c5964cdd;p=graphviz Remove usage of _hdr_mman define. This define is never set as there are no checks for it. --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 82ffbb2cd..1d95ed157 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -82,7 +82,6 @@ extern "C" { #undef _lib_vfork #undef _hdr_math #undef _sys_mman -#undef _hdr_mman #undef _sys_ioctl #endif @@ -393,9 +392,6 @@ extern "C" { # ifdef _LARGEFILE64_SOURCE # undef mmap # endif -# if _hdr_mman -# include -# endif # if _sys_mman # include # endif @@ -924,7 +920,7 @@ extern "C" { #endif #endif -#if !defined(_hdr_mman) && !_sys_mman +#if !_sys_mman extern void *mmap(void *, size_t, int, int, int, off_t); extern int munmap(void *, size_t); #endif