summaryrefslogtreecommitdiff
path: root/ext/Sys-Hostname
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Sys-Hostname')
-rw-r--r--ext/Sys-Hostname/Hostname.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Sys-Hostname/Hostname.xs b/ext/Sys-Hostname/Hostname.xs
index 3ec72f7845..6e974dd41f 100644
--- a/ext/Sys-Hostname/Hostname.xs
+++ b/ext/Sys-Hostname/Hostname.xs
@@ -1,3 +1,5 @@
+#define PERL_NO_GET_CONTEXT
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"