X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/dd36ce77cd899c7b179026603e751e3bb47b2943..9d15db65ffd49fd8fda77dcb6b70c3c930ae5153:/lib/flock.c diff --git a/lib/flock.c b/lib/flock.c index 8f018e50c..3eb9abb5c 100644 --- a/lib/flock.c +++ b/lib/flock.c @@ -6,7 +6,7 @@ Written by Richard W.M. Jones - Copyright (C) 2008-2011 Free Software Foundation, Inc. + Copyright (C) 2008-2012 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -26,15 +26,15 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -/* _get_osfhandle */ -# include - /* LockFileEx */ # define WIN32_LEAN_AND_MEAN # include # include +/* _get_osfhandle */ +# include "msvc-nothrow.h" + /* Determine the current size of a file. Because the other braindead * APIs we'll call need lower/upper 32 bit pairs, keep the file size * like that too.