Add #define _BSD_SOURCE where mplayer is not C99.

oldabi
Michael Niedermayer 14 years ago
parent e4852fb38d
commit 45c889a3ad
  1. 1
      libavfilter/libmpcodecs/vf_detc.c
  2. 1
      libavfilter/libmpcodecs/vf_divtc.c
  3. 1
      libavfilter/libmpcodecs/vf_palette.c

@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _BSD_SOURCE //strdup
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _BSD_SOURCE //strdup
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _BSD_SOURCE //strcasecmp
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Loading…
Cancel
Save