diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2013-02-19 15:44:25 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2013-02-19 15:44:25 +0000 |
commit | a9b05a1b6d7aa07667a3b781f487481b99c28cf6 (patch) | |
tree | 3f52c0c682057643216f0c9dc101b5b528945bf9 /libgphoto2_port/usbscsi | |
parent | b61a7200bf786c0fb2280a1e6cf73d0f6bfeb7f7 (diff) | |
download | libgphoto2-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/usbscsi')
-rw-r--r-- | libgphoto2_port/usbscsi/linux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgphoto2_port/usbscsi/linux.c b/libgphoto2_port/usbscsi/linux.c index 46950a489..195707330 100644 --- a/libgphoto2_port/usbscsi/linux.c +++ b/libgphoto2_port/usbscsi/linux.c @@ -16,6 +16,9 @@ * 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 /* for flock */ + #include "config.h" #include <gphoto2/gphoto2-port-library.h> |