summaryrefslogtreecommitdiff
path: root/camlibs/ax203
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-02-20 09:39:08 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-02-20 09:39:08 +0000
commitce9fbe5d11bbf5ddbc340c8d97cbe7f26b241f17 (patch)
treef4e45e189c1329f5a3fefacbc243a136ef0648fd /camlibs/ax203
parentcf9172fdcfee5534df8c240d4470a982a3865881 (diff)
downloadlibgphoto2-ce9fbe5d11bbf5ddbc340c8d97cbe7f26b241f17.tar.gz
add some _BSD_SOURCE or _POSIX_C_SOURCE where needed
for strict -ansi or MacOS X build git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14245 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/ax203')
-rw-r--r--camlibs/ax203/library.c3
-rw-r--r--camlibs/ax203/tinyjpeg.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/camlibs/ax203/library.c b/camlibs/ax203/library.c
index ad07cd8a1..3a710b8de 100644
--- a/camlibs/ax203/library.c
+++ b/camlibs/ax203/library.c
@@ -16,6 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
+#define _BSD_SOURCE
+
#include "config.h"
#include <string.h>
diff --git a/camlibs/ax203/tinyjpeg.c b/camlibs/ax203/tinyjpeg.c
index f4b3faa25..740f607db 100644
--- a/camlibs/ax203/tinyjpeg.c
+++ b/camlibs/ax203/tinyjpeg.c
@@ -39,6 +39,8 @@
*
*/
+#define _BSD_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>