1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

strcasecmp() requires #include <strings.h>

Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2008-08-13 17:22:53 +00:00
parent 5af4f1f3e3
commit ea452b54f0
7 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#define closesocket close #define closesocket close
#endif #endif
#include <string.h> #include <string.h>
#include <strings.h>
#include <stdlib.h> #include <stdlib.h>
#include "libavutil/random.h" #include "libavutil/random.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"

View File

@ -28,6 +28,7 @@
#include <sys/poll.h> #include <sys/poll.h>
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
#include <strings.h>
#include "libavformat/avformat.h" #include "libavformat/avformat.h"

View File

@ -30,6 +30,7 @@
#define _LINUX_TIME_H 1 #define _LINUX_TIME_H 1
#include <linux/videodev.h> #include <linux/videodev.h>
#include <time.h> #include <time.h>
#include <strings.h>
typedef struct { typedef struct {
int fd; int fd;

View File

@ -37,6 +37,7 @@
#include <asm/types.h> #include <asm/types.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <time.h> #include <time.h>
#include <strings.h>
static const int desired_video_buffers = 256; static const int desired_video_buffers = 256;

View File

@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <strings.h>
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavcodec/mpegaudio.h" #include "libavcodec/mpegaudio.h"
#include "libavcodec/mpegaudiodecheader.h" #include "libavcodec/mpegaudiodecheader.h"

View File

@ -24,6 +24,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> /* for select() prototype */ #include <unistd.h> /* for select() prototype */
#include <strings.h>
#include "network.h" #include "network.h"
#include "rtsp.h" #include "rtsp.h"

View File

@ -24,6 +24,7 @@
#include "riff.h" #include "riff.h"
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
#include <strings.h>
#undef NDEBUG #undef NDEBUG
#include <assert.h> #include <assert.h>