diff --git a/toxav/Makefile.inc b/toxav/Makefile.inc index 0472d361..578b6ffc 100644 --- a/toxav/Makefile.inc +++ b/toxav/Makefile.inc @@ -61,7 +61,9 @@ phone_LDADD = libtoxav.la \ $(AVDEVICE_LIBS) \ $(SWSCALE_LIBS) \ $(SDL_LIBS) \ - $(OPENAL_LIBS) + $(OPENAL_LIBS) \ + $(OPUS_LIBS) \ + $(VPX_LIBS) endif \ No newline at end of file diff --git a/toxav/phone.c b/toxav/phone.c index 7806727d..92d16906 100755 --- a/toxav/phone.c +++ b/toxav/phone.c @@ -35,7 +35,6 @@ #endif /* HAVE_CONFIG_H */ #define _BSD_SOURCE -#define _GNU_SOURCE #include #include @@ -904,7 +903,7 @@ av_session_t* av_init_session() INFO("Enter capture device number"); char dev[2]; char* left; - fgets(dev, 2, stdin); + char* warned_ = fgets(dev, 2, stdin); long selection = strtol(dev, &left, 10); if ( *left ) {