Re: Inclusion of sys/types.h

看板DFBSD_bugs作者時間21年前 (2005/01/28 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
On Wed, 26 Jan 2005 10:35:29 +0100, Jeroen Ruigrok/asmodai wrote: > -On [20050126 10:32], Jeremy Messenger (mezz7@cox.net) wrote: >>Looks like you are right, but I didn't read fully and just sloppy read in >>there (3:30am here ;-)). I guess, you guys know what you can do with the >>override port for fluxbox-devel in dfports. Jason's orignal patch is here: >> >>+ #include <sys/types.h> >> #include <time.h> > > Totally not needed. Right, but it 'solved' his problem. > Can you check if the configure script looks for size_t to be returned? It doesn't check for size_t. Thanks to joerg for do a real fix, so now sys/types.h isn't need. Cheers, Mezz > My guess is that it is, and preprocessing time.h yields a __size_t for > strftime(), which is *NOT* standards compliant. And thus causes the > problems.
文章代碼(AID): #11-K6x00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #11-K6x00 (DFBSD_bugs)