diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2013-02-20 09:39:08 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2013-02-20 09:39:08 +0000 |
commit | ce9fbe5d11bbf5ddbc340c8d97cbe7f26b241f17 (patch) | |
tree | f4e45e189c1329f5a3fefacbc243a136ef0648fd /camlibs/canon | |
parent | cf9172fdcfee5534df8c240d4470a982a3865881 (diff) | |
download | libgphoto2-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/canon')
-rw-r--r-- | camlibs/canon/library.c | 2 | ||||
-rw-r--r-- | camlibs/canon/serial.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/canon/library.c b/camlibs/canon/library.c index 9e6dd9f47..36bc618e4 100644 --- a/camlibs/canon/library.c +++ b/camlibs/canon/library.c @@ -20,6 +20,8 @@ * ****************************************************************************/ +#define _BSD_SOURCE + #include "config.h" #include <stdlib.h> diff --git a/camlibs/canon/serial.c b/camlibs/canon/serial.c index 57357522e..204c3aa2f 100644 --- a/camlibs/canon/serial.c +++ b/camlibs/canon/serial.c @@ -12,6 +12,8 @@ * ****************************************************************************/ +#define _BSD_SOURCE + #include "config.h" #include <stdio.h> |