openbsd-ports/mbone/vat/patches/patch-config_h
2001-07-30 15:33:22 +00:00

22 lines
797 B
Plaintext

$OpenBSD: patch-config_h,v 1.1 2001/07/30 15:33:22 espie Exp $
--- config.h.orig Thu May 16 14:27:06 1996
+++ config.h Mon Jul 30 17:25:38 2001
@@ -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(linux)
#include <sys/bitypes.h>
@@ -83,7 +83,7 @@ extern "C" {
#include <arpa/inet.h>
int strcasecmp(const char *, const char *);
clock_t clock(void);
-#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__)
+#if !defined(sco) && !defined(sgi) && !defined(__bsdi__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
int gethostid(void);
#endif
time_t time(time_t *);