diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-04 02:38:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-04 02:38:52 +0000 |
commit | eee0e689e9639ae0916aa15636959ad9584e203e (patch) | |
tree | e1fd76f998d990060f4d09d8cac55b16df1474b8 /sbin/ldattach | |
parent | ef243207f8630a625d2b953f94c64496751e2574 (diff) |
replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)
ok guenther
Diffstat (limited to 'sbin/ldattach')
-rw-r--r-- | sbin/ldattach/atomicio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ldattach/atomicio.c b/sbin/ldattach/atomicio.c index 5adb7fd0597..5bfab6a9627 100644 --- a/sbin/ldattach/atomicio.c +++ b/sbin/ldattach/atomicio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atomicio.c,v 1.1 2008/06/09 21:06:10 mbalmer Exp $ */ +/* $OpenBSD: atomicio.c,v 1.2 2012/12/04 02:38:51 deraadt Exp $ */ /* * Copyright (c) 2006 Damien Miller. All rights reserved. * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. @@ -26,12 +26,13 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/uio.h> #include <errno.h> #include <poll.h> #include <string.h> +#include <limits.h> #include <unistd.h> #include "atomicio.h" |