diff options
author | Vojtech Kral <vojtech@kral.hk> | 2018-05-16 12:51:30 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-05-21 19:58:22 +0300 |
commit | 97b3c38148d291f5ca0513c8a1ca2542760a9a56 (patch) | |
tree | bdee132318f5f132897f057e7b9c39314d70acac /xs/src/avrdude/ser_posix.c | |
parent | 839c0451f78956f7a4f4943d4cf6c69d1f534fb9 (diff) |
avrdude: Fix h_addr
Diffstat (limited to 'xs/src/avrdude/ser_posix.c')
-rw-r--r-- | xs/src/avrdude/ser_posix.c | 1 |
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> |