summaryrefslogtreecommitdiff
path: root/camlibs/gsmart300
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/gsmart300
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/gsmart300')
-rw-r--r--camlibs/gsmart300/gsmart300.c2
-rw-r--r--camlibs/gsmart300/library.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/camlibs/gsmart300/gsmart300.c b/camlibs/gsmart300/gsmart300.c
index d7abb578c..bc2d5d8d3 100644
--- a/camlibs/gsmart300/gsmart300.c
+++ b/camlibs/gsmart300/gsmart300.c
@@ -25,6 +25,8 @@
/* Boston, MA 02111-1307, USA. */
/****************************************************************/
+#define _BSD_SOURCE
+
#include <config.h>
#include <stdio.h>
diff --git a/camlibs/gsmart300/library.c b/camlibs/gsmart300/library.c
index edc396fab..6f45fa300 100644
--- a/camlibs/gsmart300/library.c
+++ b/camlibs/gsmart300/library.c
@@ -24,6 +24,9 @@
/* Free Software Foundation, Inc., 59 Temple Place - Suite 330, */
/* Boston, MA 02111-1307, USA. */
/****************************************************************/
+
+#define _BSD_SOURCE
+
#include <config.h>
#include <stdlib.h>