diff options
author | Eitan Adler <lists@eitanadler.com> | 2011-07-10 12:04:53 +0000 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-07-11 17:58:44 +0200 |
commit | f1f0e46cd1c50c04ac71fa61a03b728d99580ef6 (patch) | |
tree | 44f88dd362c59581beb8233346b9bc71044b075b /src/libwaitress | |
parent | a5411df5b97e1fa746a51d81829ba1b4d81f44f9 (diff) | |
download | pianobar-windows-f1f0e46cd1c50c04ac71fa61a03b728d99580ef6.tar.gz pianobar-windows-f1f0e46cd1c50c04ac71fa61a03b728d99580ef6.tar.bz2 pianobar-windows-f1f0e46cd1c50c04ac71fa61a03b728d99580ef6.zip |
Disable feature test macros on FreeBSD
Closes #136
Diffstat (limited to 'src/libwaitress')
-rw-r--r-- | src/libwaitress/waitress.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c index 8bef2f6..93b60a2 100644 --- a/src/libwaitress/waitress.c +++ b/src/libwaitress/waitress.c @@ -21,8 +21,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#ifndef __FreeBSD__ #define _POSIX_C_SOURCE 1 /* required by getaddrinfo() */ #define _BSD_SOURCE /* snprintf() */ +#endif #include <sys/types.h> #include <sys/socket.h> |