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]
/
mount
/
mount.c
diff --git
a/mount/mount.c
b/mount/mount.c
index 6b6bf743252f93347bc7f4075a97c0f9abbee402..c530a686c89bf4182b44ef8ff11c2be7c7af22d8 100644
(file)
--- a/
mount/mount.c
+++ b/
mount/mount.c
@@
-15,9
+15,9
@@
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#if
defined(WIN32)
-#include
<winsock2.h>
-#endif
+#if
def WIN32
+#include
"win32_compat.h"
+#endif
/*WIN32*/
#include <stdio.h>
#include <errno.h>
#include <stdio.h>
#include <errno.h>
@@
-28,7
+28,6
@@
#include "libnfs-private.h"
#include "libnfs-raw-mount.h"
#include "libnfs-private.h"
#include "libnfs-raw-mount.h"
-
int rpc_mount_null_async(struct rpc_context *rpc, rpc_cb cb, void *private_data)
{
struct rpc_pdu *pdu;
int rpc_mount_null_async(struct rpc_context *rpc, rpc_cb cb, void *private_data)
{
struct rpc_pdu *pdu;