diff options
author | 2010-06-28 19:12:29 +0000 | |
---|---|---|
committer | 2010-06-28 19:12:29 +0000 | |
commit | 9e5245dd58c50277ae6271f709cb03fe3d0e1d1f (patch) | |
tree | 091fe0ced11edf2110d7fd2e4807217d2abfc0da /lib/libutil/opendev.c | |
parent | Add the rtable id as an argument to rn_walktree(). Functions like (diff) | |
download | wireguard-openbsd-9e5245dd58c50277ae6271f709cb03fe3d0e1d1f.tar.xz wireguard-openbsd-9e5245dd58c50277ae6271f709cb03fe3d0e1d1f.zip |
add missing headers needed for close() and ioctl().
ok krw@ millert@
Diffstat (limited to 'lib/libutil/opendev.c')
-rw-r--r-- | lib/libutil/opendev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/opendev.c b/lib/libutil/opendev.c index 6d1c6cac059..53c3c537bfe 100644 --- a/lib/libutil/opendev.c +++ b/lib/libutil/opendev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: opendev.c,v 1.9 2010/06/18 17:03:06 jsing Exp $ */ +/* $OpenBSD: opendev.c,v 1.10 2010/06/28 19:12:29 chl Exp $ */ /* * Copyright (c) 2000, Todd C. Miller. All rights reserved. @@ -32,7 +32,9 @@ #include <paths.h> #include <stdio.h> #include <string.h> +#include <unistd.h> +#include <sys/ioctl.h> #include <sys/limits.h> #include <sys/disk.h> #include <sys/dkio.h> |