Browse Source

add missing headers needed for close() and ioctl().

ok krw@ millert@
OPENBSD_4_8
chl 14 years ago
parent
commit
808c2fbfb4
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/lib/libutil/opendev.c

+ 3
- 1
src/lib/libutil/opendev.c View File

@ -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. * Copyright (c) 2000, Todd C. Miller. All rights reserved.
@ -32,7 +32,9 @@
#include <paths.h> #include <paths.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/limits.h> #include <sys/limits.h>
#include <sys/disk.h> #include <sys/disk.h>
#include <sys/dkio.h> #include <sys/dkio.h>


Loading…
Cancel
Save