summaryrefslogtreecommitdiff
path: root/camlibs/jl2005c
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-02-20 18:08:47 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-02-20 18:08:47 +0000
commitf9385d9d33250668d323f9eec2b5194ebe814526 (patch)
treeb4e55b56f675d6dcb4a52b89dcd661bfec598867 /camlibs/jl2005c
parentede0c8b20cd8a066f08c4af005a47e1eb96dff6d (diff)
downloadlibgphoto2-f9385d9d33250668d323f9eec2b5194ebe814526.tar.gz
added _BSD_SOURCE for snprintf
-- Diese und die folgenden Zeilean werden ignoriert -- M camlibs/jd11/serial.c M camlibs/hp215/hp215.c M camlibs/jl2005c/jl2005bcd_decompress.c M camlibs/jl2005c/jl2005c.c M camlibs/gsmart300/library.c M camlibs/gsmart300/gsmart300.c M camlibs/iclick/library.c git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14247 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/jl2005c')
-rw-r--r--camlibs/jl2005c/jl2005bcd_decompress.c2
-rw-r--r--camlibs/jl2005c/jl2005c.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/jl2005c/jl2005bcd_decompress.c b/camlibs/jl2005c/jl2005bcd_decompress.c
index 0e1c88ac6..c0daaf1e5 100644
--- a/camlibs/jl2005c/jl2005bcd_decompress.c
+++ b/camlibs/jl2005c/jl2005bcd_decompress.c
@@ -23,6 +23,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#define _BSD_SOURCE
+
#include <stdio.h>
#include <_stdint.h>
#include <stdlib.h>
diff --git a/camlibs/jl2005c/jl2005c.c b/camlibs/jl2005c/jl2005c.c
index f3baefb38..cd58bb152 100644
--- a/camlibs/jl2005c/jl2005c.c
+++ b/camlibs/jl2005c/jl2005c.c
@@ -18,6 +18,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define _BSD_SOURCE
+
#include <config.h>
#include <stdio.h>
#include <stdlib.h>