X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffsync.c;h=f0fc8e5d38b950a698d9cb7201fee863f39ce5df;hb=38ed8cbdaac9ed0f1c8cbedfac78ca3f10991528;hp=b1439e633f0a42d73163df4bb2fdcf60f176cae9;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/lib/fsync.c b/lib/fsync.c index b1439e633..f0fc8e5d3 100644 --- a/lib/fsync.c +++ b/lib/fsync.c @@ -7,7 +7,7 @@ Written by Richard W.M. Jones - Copyright (C) 2008-2009 Free Software Foundation, Inc. + Copyright (C) 2008-2011 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 @@ -28,13 +28,13 @@ #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ /* _get_osfhandle */ -#include +# include /* FlushFileBuffers */ -#define WIN32_LEAN_AND_MEAN -#include +# define WIN32_LEAN_AND_MEAN +# include -#include +# include int fsync (int fd) @@ -73,6 +73,6 @@ fsync (int fd) #else /* !Windows */ -#error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." +# error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." #endif /* !Windows */