diff --git a/compat/mingw.h b/compat/mingw.h
index f465566b7a5b8c852cad9b41e853aa97ba673b61..3b2477be5f658be665f19a12b48cc47fa07d1c6b 100644 (file)
--- a/compat/mingw.h
+++ b/compat/mingw.h
{ return 1; }
static inline struct passwd *getpwnam(const char *name)
{ return NULL; }
-static inline int fcntl(int fd, int cmd, long arg)
+static inline int fcntl(int fd, int cmd, ...)
{
if (cmd == F_GETFD || cmd == F_SETFD)
return 0;