summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-12 03:46:42 +0000
committerguenther <guenther@openbsd.org>2014-07-12 03:46:42 +0000
commit4dc8cd41dd1931209cc027b1f13072ad7651ed17 (patch)
tree2d7d3bbe04d390aba1ce360cb254f0da0e152fb0
parentRemove a pile of (obviously unused) #ifdef SYSV and BSD41 and BSD42 (diff)
downloadwireguard-openbsd-4dc8cd41dd1931209cc027b1f13072ad7651ed17.tar.xz
wireguard-openbsd-4dc8cd41dd1931209cc027b1f13072ad7651ed17.zip
Kill never enabled #ifdefs
-rw-r--r--usr.bin/rdist/defs.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/usr.bin/rdist/defs.h b/usr.bin/rdist/defs.h
index 381579a96d0..9ba86ec91ac 100644
--- a/usr.bin/rdist/defs.h
+++ b/usr.bin/rdist/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.29 2014/07/12 03:40:16 guenther Exp $ */
+/* $OpenBSD: defs.h,v 1.30 2014/07/12 03:46:42 guenther Exp $ */
#ifndef __DEFS_H__
#define __DEFS_H__
@@ -75,26 +75,6 @@
#define PIPE_READ 0
#define PIPE_WRITE 1
-/*
- * This belongs in os-svr4.h but many SVR4 OS's
- * define SVR4 externel to Rdist so we put this
- * check here.
- */
-#if defined(SVR4)
-#define NEED_FCNTL_H
-#define NEED_NETDB_H
-#endif /* defined(SVR4) */
-
-#if defined(NEED_NETDB_H)
-#include <netdb.h>
-#endif /* NEED_NETDB_H */
-#if defined(NEED_FCNTL_H)
-#include <fcntl.h>
-#endif /* NEED_FCNTL_H */
-#if defined(NEED_LIMITS_H)
-#include <limits.h>
-#endif /* NEED_LIMITS_H */
-
/* boolean truth */
#ifndef TRUE
#define TRUE 1