summaryrefslogtreecommitdiff
path: root/camlibs/digita
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-02-20 17:37:37 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-02-20 17:37:37 +0000
commitede0c8b20cd8a066f08c4af005a47e1eb96dff6d (patch)
tree9db48575d5fc2c6403733950c03486b7b98afc2e /camlibs/digita
parentce9fbe5d11bbf5ddbc340c8d97cbe7f26b241f17 (diff)
downloadlibgphoto2-ede0c8b20cd8a066f08c4af005a47e1eb96dff6d.tar.gz
added _BSD_SOURCE or _POSIX_C_SOURCE for -ansi building
replaced // comments with /* */ comments git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14246 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/digita')
-rw-r--r--camlibs/digita/digita.c2
-rw-r--r--camlibs/digita/serial.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/camlibs/digita/digita.c b/camlibs/digita/digita.c
index 61dd06e52..40e4e239a 100644
--- a/camlibs/digita/digita.c
+++ b/camlibs/digita/digita.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define _BSD_SOURCE
+
#include "config.h"
#include <stdlib.h>
diff --git a/camlibs/digita/serial.c b/camlibs/digita/serial.c
index fef845e46..61be074e7 100644
--- a/camlibs/digita/serial.c
+++ b/camlibs/digita/serial.c
@@ -21,6 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
+#define _BSD_SOURCE
+
#include "config.h"
#include <stdio.h>