repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[win32] - make it compile on win32
[deb_libnfs.git]
/
examples
/
nfsclient-raw.c
diff --git
a/examples/nfsclient-raw.c
b/examples/nfsclient-raw.c
index 7956781a1b9f62cce46e2f1df65dd6cbb35b260d..948909f720405436a7a6ac766f872b67be84bd00 100644
(file)
--- a/
examples/nfsclient-raw.c
+++ b/
examples/nfsclient-raw.c
@@
-19,13
+19,17
@@
* This allow accurate control of the exact commands that are being used.
*/
* This allow accurate control of the exact commands that are being used.
*/
+#ifdef WIN32
+#include "win32_compat.h"
+#else
+#include <poll.h>
+#endif
#define SERVER "10.1.1.27"
#define EXPORT "/shared"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define SERVER "10.1.1.27"
#define EXPORT "/shared"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <poll.h>
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"
#include "libnfs.h"
#include "libnfs-raw.h"
#include "libnfs-raw-mount.h"