9759e5be25
- Honor CC, CFLAGS. - Make this compile with gcc3.
22 lines
875 B
Plaintext
22 lines
875 B
Plaintext
$OpenBSD: patch-config_h,v 1.1 2002/10/06 22:28:49 naddy Exp $
|
|
--- config.h.orig Mon Mar 22 15:44:40 1999
|
|
+++ config.h Sun Oct 6 23:05:29 2002
|
|
@@ -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 @@ 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__) && !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 *);
|