aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/Makefile.am6
-rw-r--r--openbsd-compat/defines.h12
2 files changed, 3 insertions, 15 deletions
diff --git a/openbsd-compat/Makefile.am b/openbsd-compat/Makefile.am
index a43dff55..7252d91d 100644
--- a/openbsd-compat/Makefile.am
+++ b/openbsd-compat/Makefile.am
@@ -1,7 +1,7 @@
noinst_LIBRARIES = libopenbsd-compat.a
-libopenbsd_compat_a_SOURCES = arc4random.c
-libopenbsd_compat_a_SOURCES += base64.c
+#libopenbsd_compat_a_SOURCES = arc4random.c
+libopenbsd_compat_a_SOURCES = base64.c
libopenbsd_compat_a_SOURCES += bsd-getpeereid.c
libopenbsd_compat_a_SOURCES += bsd-misc.c
libopenbsd_compat_a_SOURCES += bsd-waitpid.c
@@ -12,7 +12,7 @@ libopenbsd_compat_a_SOURCES += freezero.c
libopenbsd_compat_a_SOURCES += getopt.c
libopenbsd_compat_a_SOURCES += imsg.c
libopenbsd_compat_a_SOURCES += imsg-buffer.c
-libopenbsd_compat_a_SOURCES += libressl.c
+#libopenbsd_compat_a_SOURCES += libressl.c
libopenbsd_compat_a_SOURCES += pidfile.c
libopenbsd_compat_a_SOURCES += pw_dup.c
libopenbsd_compat_a_SOURCES += reallocarray.c
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
index 841dcd29..d987f858 100644
--- a/openbsd-compat/defines.h
+++ b/openbsd-compat/defines.h
@@ -471,14 +471,6 @@ typedef uint16_t in_port_t;
# error "Neither EAI_NODATA and EAI_NONAME are defined! :("
# endif
#endif
-
-#ifndef CLOCK_MONOTONIC
-#define CLOCK_MONOTONIC -1
-#endif
-
-#ifndef CLOCK_REALTIME
-#define CLOCK_REALTIME -2
-#endif
/* end of chl */
#ifndef HAVE_FPARSELN
@@ -511,8 +503,4 @@ typedef uint16_t in_port_t;
#define LOG_PERROR 0
#endif
-#if !HAVE_DECL_SSL_OP_NO_CLIENT_RENEGOTIATION
-#define SSL_OP_NO_CLIENT_RENEGOTIATION 0
-#endif
-
#endif /* _DEFINES_H */