summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-06-02 06:25:20 +0000
committerguenther <guenther@openbsd.org>2013-06-02 06:25:20 +0000
commitf461a1dd76104a77b56b670b304533b530776baf (patch)
tree9004e2ab40b77161a156413dcf24b4861ccf5167 /usr.sbin/amd
parent<sys/dir.h> isn't needed here (diff)
downloadwireguard-openbsd-f461a1dd76104a77b56b670b304533b530776baf.tar.xz
wireguard-openbsd-f461a1dd76104a77b56b670b304533b530776baf.zip
Kill a pointless reference to <sys/dir.h>
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/info_union.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/amd/amd/info_union.c b/usr.sbin/amd/amd/info_union.c
index abdc167da17..621f3aef29d 100644
--- a/usr.sbin/amd/amd/info_union.c
+++ b/usr.sbin/amd/amd/info_union.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)info_union.c 8.1 (Berkeley) 6/6/93
- * $Id: info_union.c,v 1.6 2003/06/02 23:36:51 millert Exp $
+ * $Id: info_union.c,v 1.7 2013/06/02 06:25:20 guenther Exp $
*/
/*
@@ -46,13 +46,8 @@
#ifdef HAS_UNION_MAPS
-#ifdef _POSIX_SOURCE
#include <dirent.h>
#define DIRENT struct dirent
-#else
-#include <sys/dir.h>
-#define DIRENT struct direct
-#endif
#define UNION_PREFIX "union:"
#define UNION_PREFLEN 6