Summary: | ASTERISK-18929: main/asterisk.c compile error on OpenBSD | ||
Reporter: | Barry Miller (bjm) | Labels: | |
Date Opened: | 2011-11-27 22:04:05.000-0600 | Date Closed: | 2012-01-13 15:49:01.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | SVN | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | OpenBSD 5.0 | Attachments: | ( 0) ast-bsd-patch |
Description: | OpenBSD defines SO_PEERCRED, but it returns a 'struct sockpeercred', not 'struct ucred', which causes compilation of main/asterisk.c to fail in 'read_credentials()'. Will attach a small patch that causes ./configure to check for sockpeercred, and asterisk.c to deal with it properly. | ||
Comments: |