openbsd-ports/mbone/vic/patches/patch-ak

21 lines
799 B
Plaintext

--- config.h.orig Mon Mar 22 09:44:40 1999
+++ config.h Tue Nov 30 16:56:44 1999
@@ -36,7 +36,7 @@
#ifndef vic_config_h
#define vic_config_h
-#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__)
+#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(__OpenBSD__)
# include <sys/types.h>
#elif defined(sun)
#include <sys/types.h>
@@ -94,7 +94,7 @@
#include <arpa/inet.h>
int strcasecmp(const char *, const char *);
clock_t clock(void);
-#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(sun) && !defined(__linux__)
+#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(sun) && !defined(__linux__) && !defined(__OpenBSD__)
int gethostid(void);
#endif
time_t time(time_t *);