MFH: r514339

textproc/R-cran-readxl: fix build on GCC architectures

Include sys/types.h in src/ColSpec.h to fix build with GCC:
/usr/include/unistd.h:327:26: error: 'uid_t' has not been declared

PR:		240796
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-12-07 11:22:21 +00:00
parent 330fcd9651
commit aaabc26fb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=519197

View File

@ -0,0 +1,10 @@
--- src/ColSpec.h.orig 2019-09-24 16:05:20 UTC
+++ src/ColSpec.h
@@ -1,6 +1,7 @@
#ifndef READXL_COLSPEC_
#define READXL_COLSPEC_
+#include <sys/types.h>
#include <Rcpp.h>
#include <libxls/xls.h>
#include "StringSet.h"