Opened 12 years ago

Closed 12 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: Analyzed by developer:

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 Changed 12 years ago by diego@…

  • Resolution set to invalid
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.