ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.263 by root, Sun Aug 12 06:03:20 2018 UTC vs.
Revision 1.266 by root, Tue Aug 14 14:03:14 2018 UTC

17#include <sys/socket.h> 17#include <sys/socket.h>
18#include <sys/stat.h> 18#include <sys/stat.h>
19#include <limits.h> 19#include <limits.h>
20#include <fcntl.h> 20#include <fcntl.h>
21#include <sched.h> 21#include <sched.h>
22
23#if HAVE_SYS_MKDEV_H
24# include <sys/mkdev.h>
25#elif HAVE_SYS_SYSMACROS_H
26# include <sys/sysmacros.h>
27#endif
22 28
23#if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES 29#if _POSIX_MEMLOCK || _POSIX_MEMLOCK_RANGE || _POSIX_MAPPED_FILES
24# include <sys/mman.h> 30# include <sys/mman.h>
25#endif 31#endif
26 32
188#endif 194#endif
189#ifndef minor 195#ifndef minor
190# define minor(dev) ((dev) & 0xff) 196# define minor(dev) ((dev) & 0xff)
191#endif 197#endif
192 198
199/* solaris has a non-posix/unix compliant PAGESIZE that breaks compilation */
200#ifdef __sun
201# undef PAGESIZE
202#endif
203
193#if PAGESIZE <= 0 204#if PAGESIZE <= 0
194# define PAGESIZE sysconf (_SC_PAGESIZE) 205# define PAGESIZE sysconf (_SC_PAGESIZE)
195#endif 206#endif
196 207
197/*****************************************************************************/ 208/*****************************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines