Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-05-16 12:51:30 +0300
committerVojtech Kral <vojtech@kral.hk>2018-05-21 19:58:22 +0300
commit97b3c38148d291f5ca0513c8a1ca2542760a9a56 (patch)
treebdee132318f5f132897f057e7b9c39314d70acac /xs/src/avrdude
parent839c0451f78956f7a4f4943d4cf6c69d1f534fb9 (diff)
avrdude: Fix h_addr
Diffstat (limited to 'xs/src/avrdude')
-rw-r--r--xs/src/avrdude/ser_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/avrdude/ser_posix.c b/xs/src/avrdude/ser_posix.c
index beeb9bdca..af7c1fbc7 100644
--- a/xs/src/avrdude/ser_posix.c
+++ b/xs/src/avrdude/ser_posix.c
@@ -25,6 +25,7 @@
#if !defined(WIN32NATIVE)
+#define _BSD_SOURCE // Needed to enable various macros (such as h_addr)
#include <ctype.h>
#include <stdio.h>