# HG changeset patch # User ramiro # Date 1204998233 0 # Node ID bc818669cdbd8ba3341beea863bb3aedd71f82a2 # Parent 7591b632d1c6a9f30c4e35fcfe8beff639f38112 Put network-related code under #ifdef diff -r 7591b632d1c6 -r bc818669cdbd os_support.h --- a/os_support.h Sat Mar 08 17:43:10 2008 +0000 +++ b/os_support.h Sat Mar 08 17:43:53 2008 +0000 @@ -52,6 +52,7 @@ # endif #endif +#ifdef CONFIG_NETWORK #ifndef HAVE_SOCKLEN_T typedef int socklen_t; #endif @@ -89,5 +90,6 @@ extern int poll(struct pollfd *fds, nfds_t numfds, int timeout); #endif /* HAVE_POLL_H */ #endif /* CONFIG_FFSERVER */ +#endif /* CONFIG_NETWORK */ #endif /* FFMPEG_OS_SUPPORT_H */