diff --git a/cmdutils.c b/cmdutils.c index b28c00d8fa..d5fb6cff7b 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -38,7 +38,9 @@ #include "libavcodec/opt.h" #include "cmdutils.h" #include "version.h" +#if CONFIG_NETWORK #include "libavformat/network.h" +#endif #undef exit