[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flac-dev
Subject:    [Flac-dev] [PATCH] examples: Add include of string.h
From:       "Xu, Dongxiao" <dongxiao.xu () intel ! com>
Date:       2011-06-29 6:45:16
Message-ID: D5AB6E638E5A3E4B8F4406B113A5A19A12D6B859FD () shsmsx501 ! ccr ! corp ! intel ! com
[Download RAW message or body]

Hi list,

I don't know whether this is the right place for sending patches.

While integrating flac into our yocto project "www.yoctoproject.org", we found a build issue in \
flac/examples. The following patch fixes this issue.

BTW, is flac still under maintenance? I saw it was not upgraded for a long time.

Thanks,
Dongxiao

Fixes no declaration of memcmp().

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>

diff -urN flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp	2010-06-23 15:06:29.159481339 +0800
+++ flac-1.2.1/examples/cpp/encode/file/main.cpp	2010-06-23 15:06:46.233384883 +0800
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "FLAC++/metadata.h"
 #include "FLAC++/encoder.h"
 
_______________________________________________
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic