version 1.55, 2010/08/13 21:00:37
|
version 1.56, 2010/08/15 14:46:25
|
Line 31
|
Line 31
|
# define _DARWIN_C_SOURCE |
# define _DARWIN_C_SOURCE |
#endif |
#endif |
|
|
|
#ifdef OpenBSD |
|
# define _BSD_SOURCE |
|
#endif |
|
|
#ifdef OS2 |
#ifdef OS2 |
# define _BSD_SOURCE |
# define _BSD_SOURCE |
# define _XOPEN_SOURCE 600 |
# define _XOPEN_SOURCE 600 |
# define _BROKEN_SIGINFO |
|
|
|
# include <types.h> |
# include <types.h> |
enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; |
enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; |
Line 67
|
Line 70
|
|
|
#ifndef RPLARGS |
#ifndef RPLARGS |
# include <sys/mman.h> |
# include <sys/mman.h> |
|
# include <sys/time.h> |
# include <sys/resource.h> |
# include <sys/resource.h> |
# include <sys/select.h> |
# include <sys/select.h> |
# include <sys/socket.h> |
# include <sys/socket.h> |
# include <sys/stat.h> |
# include <sys/stat.h> |
# include <sys/time.h> |
|
# include <sys/timeb.h> |
# include <sys/timeb.h> |
# include <sys/types.h> |
# include <sys/types.h> |
# include <sys/un.h> |
# include <sys/un.h> |
Line 179
|
Line 182
|
|
|
#include "librplprototypes.h" |
#include "librplprototypes.h" |
|
|
|
#ifndef UNIX_PATH_MAX |
|
struct sockaddr_un sizecheck; |
|
# define UNIX_PATH_MAX sizeof(sizecheck.sun_path) |
|
#endif |
|
|
|
|
/* |
/* |
================================================================================ |
================================================================================ |
Line 206
|
Line 214
|
*/ |
*/ |
|
|
#ifndef RPLARGS |
#ifndef RPLARGS |
# if defined(Darwin) |
# if defined(Darwin) || defined(OpenBSD) |
# define SIGPOLL SIGINFO |
# define SIGPOLL SIGINFO |
# endif |
# endif |
|
|
Line 1646 typedef struct processus
|
Line 1654 typedef struct processus
|
pthread_t thread_surveille_par_fusible; |
pthread_t thread_surveille_par_fusible; |
|
|
# if !defined(Cygwin) |
# if !defined(Cygwin) |
|
# if !(OpenBSD) |
stack_t pile_signal; |
stack_t pile_signal; |
|
# else |
|
# ifdef SA_ONSTACK |
|
# undef SA_ONSTACK |
|
# endif |
|
# define SA_ONSTACK 0 |
|
# endif |
# else |
# else |
# define SA_ONSTACK 0 |
# define SA_ONSTACK 0 |
# define RTLD_LOCAL 0 |
# define RTLD_LOCAL 0 |