From: Steve L. <sle...@ya...> - 2020-12-08 14:02:55
|
> On Dec 8, 2020, at 8:44 AM, Solomon Peachy <pi...@sh...> wrote: > > On Tue, Dec 08, 2020 at 01:03:43PM +0000, Steve Letter via Gimp-print-devel wrote: >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet/ip.h:86:2: error: ^M >> >> unknown type name 'u_int'^M >> >> u_int ip_hl:4, /* header length */^M >> >> ^^M > > 'u_int' and its kin are supposedly defined in <sys/types.h> but that's > already being #included in genppd.h It might be informative to go > spelunking into that header to see what's gating those typedefs... > > Can you try adding '-D_DARWIN_C_SOURCE' to the global CFLAGS and see if > this succeeds? (I wonder if our use of '-D_POSIX_C_SOURCE=200809L' is > screwing us up here..) > > - Solomon > -- > Solomon Peachy pizza at shaftnet dot org (email&xmpp) > @pizza:shaftnet dot org (matrix) > High Springs, FL speachy (freenode) I thought the same thing but compiled without it and saw the same error. |