repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more include cleanups it starts to look almost decent now
[deb_libnfs.git]
/
examples
/
nfsclient-sync.c
diff --git
a/examples/nfsclient-sync.c
b/examples/nfsclient-sync.c
index 4bd2c0b942714b26d4c72ee8305842ecdec1b5f2..72aa312fe2b6625e034894327bcffbe019fdbb74 100644
(file)
--- a/
examples/nfsclient-sync.c
+++ b/
examples/nfsclient-sync.c
@@
-20,24
+20,30
@@
/* Example program using the highlevel sync interface
*/
/* Example program using the highlevel sync interface
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef AROS
+#include "aros_compat.h"
+#endif
+
#ifdef WIN32
#include "win32_compat.h"
#pragma comment(lib, "ws2_32.lib")
WSADATA wsaData;
#else
#include <string.h>
#ifdef WIN32
#include "win32_compat.h"
#pragma comment(lib, "ws2_32.lib")
WSADATA wsaData;
#else
#include <string.h>
-#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
-#include <unistd.h>
#ifndef AROS
#include <sys/statvfs.h>
#endif
#endif
#ifndef AROS
#include <sys/statvfs.h>
#endif
#endif
-#ifdef
AROS
-#include
"aros_compat.h"
+#ifdef
HAVE_UNISTD_H
+#include
<unistd.h>
#endif
#endif
-
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>