diff options
author | guenther <guenther@openbsd.org> | 2018-04-26 12:42:50 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2018-04-26 12:42:50 +0000 |
commit | f414793931f0f39a413874f9e342e33d9fd35eac (patch) | |
tree | 2f4a2abfbaa234b7cf3ecdbab222b87a5d01ccb9 /usr.sbin/ldapd | |
parent | Do not try getnetbyname(3) if gethostbyname(3) returns no result. (diff) | |
download | wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.tar.xz wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.zip |
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r-- | usr.sbin/ldapd/uuid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ldapd/uuid.c b/usr.sbin/ldapd/uuid.c index be2575df6d4..46a1cf1e17e 100644 --- a/usr.sbin/ldapd/uuid.c +++ b/usr.sbin/ldapd/uuid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uuid.c,v 1.5 2016/08/27 01:42:37 guenther Exp $ */ +/* $OpenBSD: uuid.c,v 1.6 2018/04/26 12:42:51 guenther Exp $ */ /* * Copyright (c) 2002, Stockholms Universitet * (Stockholm University, Stockholm Sweden) @@ -53,7 +53,6 @@ #include <net/if.h> #include <net/if_types.h> #include <net/if_dl.h> -#include <sys/file.h> #include <fcntl.h> #include <ifaddrs.h> |