diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-02-13 22:18:38 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-02-13 22:18:38 +0000 |
commit | 9e1764495d355798eeca97a29b2ec5c4873e0487 (patch) | |
tree | c92525bb8f9900d03152fe4cb133c38be15a3f6e /pkgtools | |
parent | aa420d7512c61350a49e17fe659268f1384504f8 (diff) | |
download | pkgsrc-9e1764495d355798eeca97a29b2ec5c4873e0487.tar.gz |
Need unistd.h on OS X 10.6 for ssize_t.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/cwrappers/files/bin/common.h | 3 | ||||
-rw-r--r-- | pkgtools/cwrappers/files/bin/getline.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/cwrappers/files/bin/common.h b/pkgtools/cwrappers/files/bin/common.h index 24c81b8c9b4..c0d79d0896d 100644 --- a/pkgtools/cwrappers/files/bin/common.h +++ b/pkgtools/cwrappers/files/bin/common.h @@ -1,4 +1,4 @@ -/* $NetBSD: common.h,v 1.2 2014/11/29 22:19:55 joerg Exp $ */ +/* $NetBSD: common.h,v 1.3 2015/02/13 22:18:38 jperkin Exp $ */ /*- * Copyright (c) 2009 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -36,6 +36,7 @@ #include <nbcompat/queue.h> #include <inttypes.h> #include <stdio.h> +#include <unistd.h> extern const char library_name_chars[]; extern char *exec_path; diff --git a/pkgtools/cwrappers/files/bin/getline.c b/pkgtools/cwrappers/files/bin/getline.c index 543a15c25eb..7bace4143d8 100644 --- a/pkgtools/cwrappers/files/bin/getline.c +++ b/pkgtools/cwrappers/files/bin/getline.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #include "common.h" |