[PATCH] Compilation fix for BSD Operating Systems.
Brad <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <[email protected]> |
Change the #ifndef to also cover the various other BSD Operating Systems which need this to be able to build. From d9aaee82ebcb3b65c8cf9df5a1fd52c0673b674e Mon Sep 17 00:00:00 2001 From: Brad Smith <[email protected]> Date: Fri, 6 May 2011 17:19:52 -0400 Subject: [PATCH] Fix compilation on other BSD Operating Systems such as OpenBSD, NetBSD and DragonFly. --- examples/connect.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/connect.c b/examples/connect.c index f10c513..211713b 100644 --- a/examples/connect.c +++ b/examples/connect.c @@ -38,7 +38,7 @@ # include <netinet/if_ether.h> #endif #include <netdb.h> -#ifndef __FreeBSD__ +#ifndef BSD # include <netinet/ip.h> #endif #include <netinet/udp.h> -- 1.7.3.5 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel