On Thu, Aug 25, 2011 at 02:44:21PM +0200, Thomas de Grivel wrote:
> Hi,
>
> From ip(4) :
>
> SYNOPSIS
> #include
> #include
>
> However this fails :
>
> $ cat > ip.c
> #include
> #include
>
> int main() {
> return 0;
> }
> ^D
> $ gcc ip.c
> In file included from ip.c:1:
> /usr/
On Fri, Sep 02, 2011 at 01:01:37PM -0700, Matthew Dempsky wrote:
> Our sys/socket.h and netinet/in.h headers do require sys/types.h, so
> it seems consistent to at least document that. ok matthew@
>
> (POSIX requires headers to be self-sufficient, but we're a ways off from
> that.)
>
there was
Our sys/socket.h and netinet/in.h headers do require sys/types.h, so
it seems consistent to at least document that. ok matthew@
(POSIX requires headers to be self-sufficient, but we're a ways off from
that.)
On Thu, Sep 1, 2011 at 11:42 PM, Jason McIntyre wrote:
> can a developer weigh in on th
can a developer weigh in on this, please?
jmc
On Thu, Aug 25, 2011 at 02:44:21PM +0200, Thomas de Grivel wrote:
> Hi,
>
> From ip(4) :
>
> SYNOPSIS
> #include
> #include
>
> However this fails :
>
> $ cat > ip.c
> #include
> #include
>
> int main() {
> return 0;
> }
> ^D
> $ g
On 08/25/11 14:44, Thomas de Grivel wrote:
> Including before makes it ok.
> So either the manual is wrong
> or sys/socket.h or netinet/in.h is wrong.
>
Ok for this diff ?
Cheers
Giovanni
Index: ip.4
===
RCS file: /cvs/src/share/
Hi,
From ip(4) :
SYNOPSIS
#include
#include
However this fails :
$ cat > ip.c
#include
#include
int main() {
return 0;
}
^D
$ gcc ip.c
In file included from ip.c:1:
/usr//include/sys/socket.h:105: error: expected specifier-qualifier-list
before 'off_t'
/usr//include/sys/socke
Le 08/25/11 14:44, Thomas de Grivel a icrit :
Hi,
From ip(4) :
SYNOPSIS
#include
#include
However this fails :
$ cat > ip.c
#include
#include
int main() {
return 0;
}
^D
$ gcc ip.c
In file included from ip.c:1:
/usr//include/sys/socket.h:105: error: expected specifier-qualifier-list
bef