28#ifndef __FREEWRL_PLUGIN_SYSTEM_H__
29#define __FREEWRL_PLUGIN_SYSTEM_H__
39# define strrchr rindex
41char *strchr (), *strrchr ();
43# define memcpy(d, s, n) bcopy ((s), (d), (n))
44# define memmove(d, s, n) bcopy ((s), (d), (n))
59typedef unsigned char _Bool;
65# define __bool_true_false_are_defined 1
73# include <sys/types.h>
93# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
96# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
108# include <sys/socket.h>
112# define int32 int32_t
115# define uint32 uint32_t
118# define int16 int16_t
121# define uint16 uint16_t