Opened 16 years ago

Closed 16 years ago

#982 closed defect (invalid)

os_support.h defines socklen_t, duplicating libc's definition of it

Reported by: bryanh@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

libavformat/os_support.h defines socken_t unless HAVE_SOCKLEN_T is defined. I can't find any way that HAVE_SOCKLEN_T would be defined, and when I compile, it is not. However, my libc (GNU libc 2.1) does define socklen_t, ergo I get a compile error in os_support.h when it tries to redefine it.

I was able to build by removing the typedef from os_support.h.

Change History (1)

comment:1 by diego@…, 16 years ago

Resolution: invalid
Status: newclosed

You are not using Subversion HEAD, this issue is fixed already.

Note: See TracTickets for help on using tickets.