summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-02-19 15:44:25 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-02-19 15:44:25 +0000
commita9b05a1b6d7aa07667a3b781f487481b99c28cf6 (patch)
tree3f52c0c682057643216f0c9dc101b5b528945bf9 /libgphoto2_port/libgphoto2_port
parentb61a7200bf786c0fb2280a1e6cf73d0f6bfeb7f7 (diff)
downloadlibgphoto2-a9b05a1b6d7aa07667a3b781f487481b99c28cf6.tar.gz
added #define _BSD_SOURCE where necessary to fix strict ansi builds
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14242 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-log.c2
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
index 4973fb986..45f7c61f8 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c
@@ -21,6 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define _BSD_SOURCE
+
#include "config.h"
#include <gphoto2/gphoto2-port-log.h>
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port.c b/libgphoto2_port/libgphoto2_port/gphoto2-port.c
index f13ce496d..0eca7c568 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port.c
@@ -23,6 +23,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define _BSD_SOURCE
+
#include "config.h"
#include <stdarg.h>