Re: gmake complaining about sys/mman.h

2006-04-17 Thread Jeremy C. Reed
On Sun, 16 Apr 2006, walt wrote: > > I haven't looked at gedit-document-loader.c but maybe it needs to include > > . > > Aha! The problem was that types.h was included *after* > mman.h. I changed the order of those two lines and the > problem is fixed. > > Would that fix be safe on all the pl

Re: gmake complaining about sys/mman.h

2006-04-16 Thread walt
Jeremy C. Reed wrote: > I haven't looked at gedit-document-loader.c but maybe it needs to include > . Aha! The problem was that types.h was included *after* mman.h. I changed the order of those two lines and the problem is fixed. Would that fix be safe on all the platforms supported by pkgsrc

Re: gmake complaining about sys/mman.h

2006-04-15 Thread walt
Jeremy C. Reed wrote: > On Sat, 15 Apr 2006, walt wrote: > >> I did two things this morning: I updated my DragonFly-current >> machine, and I then I updated pkgsrc. >> >> Now, when I try to build gedit I get this error: >> >> In file included from gedit-document-loader.c:35: >> /usr/include/sys/m

Re: gmake complaining about sys/mman.h

2006-04-15 Thread Jeremy C. Reed
On Sat, 15 Apr 2006, walt wrote: > I did two things this morning: I updated my DragonFly-current > machine, and I then I updated pkgsrc. > > Now, when I try to build gedit I get this error: > > In file included from gedit-document-loader.c:35: > /usr/include/sys/mman.h:142: error: syntax error

gmake complaining about sys/mman.h

2006-04-15 Thread walt
I did two things this morning: I updated my DragonFly-current machine, and I then I updated pkgsrc. Now, when I try to build gedit I get this error: In file included from gedit-document-loader.c:35: /usr/include/sys/mman.h:142: error: syntax error before "mode_t" /usr/include/sys/mman.h:145: err