pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/cwrappers/files/bin Need unistd.h on OS X 10....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed0e46621d60
branches:  trunk
changeset: 646703:ed0e46621d60
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Feb 13 22:18:38 2015 +0000

description:
Need unistd.h on OS X 10.6 for ssize_t.

diffstat:

 pkgtools/cwrappers/files/bin/common.h  |  3 ++-
 pkgtools/cwrappers/files/bin/getline.c |  1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 855ed0036bbb -r ed0e46621d60 pkgtools/cwrappers/files/bin/common.h
--- a/pkgtools/cwrappers/files/bin/common.h     Fri Feb 13 22:05:46 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/common.h     Fri Feb 13 22:18:38 2015 +0000
@@ -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@localhost>.
@@ -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 -r 855ed0036bbb -r ed0e46621d60 pkgtools/cwrappers/files/bin/getline.c
--- a/pkgtools/cwrappers/files/bin/getline.c    Fri Feb 13 22:05:46 2015 +0000
+++ b/pkgtools/cwrappers/files/bin/getline.c    Fri Feb 13 22:18:38 2015 +0000
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 
 #include "common.h"
 



Home | Main Index | Thread Index | Old Index