summaryrefslogtreecommitdiff
path: root/ext/socket/addrinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/addrinfo.h')
-rw-r--r--ext/socket/addrinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/addrinfo.h b/ext/socket/addrinfo.h
index 5d2c7dea45..d4e2091d69 100644
--- a/ext/socket/addrinfo.h
+++ b/ext/socket/addrinfo.h
@@ -69,7 +69,7 @@
# ifdef HAVE_PROTOTYPES
# define __P(args) args
# else
-# define __P(args)
+# define __P(args) ()
# endif
#endif