summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usb
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2013-02-20 22:25:14 +0000
committerMarcus Meissner <marcus@jet.franken.de>2013-02-20 22:25:14 +0000
commit13edcec063598913d98663e9ba0052aed8c3a252 (patch)
treee5980c72cfce599ce3230933a5342f2ca97515b6 /libgphoto2_port/usb
parentece1fcf2098ce7230d4cd40efe7bcb2e132dfca8 (diff)
downloadlibgphoto2-13edcec063598913d98663e9ba0052aed8c3a252.tar.gz
added #define _BSD_SOURCE
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14250 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/usb')
-rw-r--r--libgphoto2_port/usb/libusb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2_port/usb/libusb.c b/libgphoto2_port/usb/libusb.c
index 29830a9f6..3eaea0051 100644
--- a/libgphoto2_port/usb/libusb.c
+++ b/libgphoto2_port/usb/libusb.c
@@ -19,6 +19,9 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
+#define _BSD_SOURCE
+
#include "config.h"
#include <gphoto2/gphoto2-port-library.h>