$OpenBSD: patch-server_IR_h,v 1.1 2002/03/26 19:58:37 espie Exp $ --- server/IR.h.orig Tue Mar 26 20:33:53 2002 +++ server/IR.h Tue Mar 26 20:34:33 2002 @@ -32,13 +32,17 @@ # include # endif -# ifndef __EMX__ -# ifndef bcopy -# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size)) -# endif -# ifndef bzero -# define bzero(buf, size) memset((char *)(buf), 0x00, (size)) -# endif +# ifdef __OpenBSD__ +# include # else -# include +# ifndef __EMX__ +# ifndef bcopy +# define bcopy(src, dst, size) memcpy((char *)(dst), (char *)(src), (size)) +# endif +# ifndef bzero +# define bzero(buf, size) memset((char *)(buf), 0x00, (size)) +# endif +# else +# include +# endif # endif #endif