summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index d3ace6b..f7bbeae 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -2713,7 +2713,7 @@ socket_inet_aton(PyObject *self, PyObject *args)
/* Have to use inet_addr() instead */
char *ip_addr;
-#if HAVE_INET_ATON
+#ifdef HAVE_INET_ATON
struct in_addr buf;
if (!PyArg_ParseTuple(args, "s:inet_aton", &ip_addr)) {