Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Anthony J. Bentley
Brian Callahan writes: On 06/21/15 19:56, Kamil Rytarowski wrote: On 22.06.2015 01:55, Brian Callahan wrote: This is quite obviously the wrong place to put any headers. It's odd, otherwise then the code should be refactored and the following struct perhaps moved away, together

Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Brian Callahan
On 06/21/15 21:21, Anthony J. Bentley wrote: Brian Callahan writes: On 06/21/15 19:56, Kamil Rytarowski wrote: On 22.06.2015 01:55, Brian Callahan wrote: This is quite obviously the wrong place to put any headers. It's odd, otherwise then the code should be refactored and the following

Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Brian Callahan
This is quite obviously the wrong place to put any headers. On 06/21/15 19:41, Kamil Rytarowski wrote: Caught on NetBSD. Index: def.h === RCS file: /cvs/src/usr.bin/mg/def.h,v retrieving revision 1.147 diff -u -r1.147 def.h

Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Brian Callahan
On 06/21/15 19:56, Kamil Rytarowski wrote: On 22.06.2015 01:55, Brian Callahan wrote: This is quite obviously the wrong place to put any headers. It's odd, otherwise then the code should be refactored and the following struct perhaps moved away, together with struct buffer? /* *

Re: patch/ mg(1) include time.h for struct timespec

2015-06-21 Thread Kamil Rytarowski
On 22.06.2015 01:55, Brian Callahan wrote: This is quite obviously the wrong place to put any headers. It's odd, otherwise then the code should be refactored and the following struct perhaps moved away, together with struct buffer? /* * Previously from sysdef.h * Only used in struct buffer.