summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usbdiskdirect/linux.c
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/usbdiskdirect/linux.c
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/usbdiskdirect/linux.c')
-rw-r--r--libgphoto2_port/usbdiskdirect/linux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2_port/usbdiskdirect/linux.c b/libgphoto2_port/usbdiskdirect/linux.c
index cd79ff93f..3b34ffcf0 100644
--- a/libgphoto2_port/usbdiskdirect/linux.c
+++ b/libgphoto2_port/usbdiskdirect/linux.c
@@ -16,6 +16,8 @@
* 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 <gphoto2/gphoto2-port-library.h>