Add __OpenBSD__ where applicable.
This commit is contained in:
parent
b8d461b8ba
commit
810c2b7c93
3
AUTHORS
3
AUTHORS
|
@ -45,3 +45,6 @@ James Laird <james.laird@nicta.com.au>:
|
||||||
Stefan Mahr <Stefan.Mahr@sphairon.com>:
|
Stefan Mahr <Stefan.Mahr@sphairon.com>:
|
||||||
* Initial support, testing and analysis for Olimex
|
* Initial support, testing and analysis for Olimex
|
||||||
MSP430-JTAG-ISO.
|
MSP430-JTAG-ISO.
|
||||||
|
|
||||||
|
Jasper Lievisse Adriaanse <jasper@humppa.nl>:
|
||||||
|
* Ported to OpenBSD.
|
||||||
|
|
2
bsl.c
2
bsl.c
|
@ -31,7 +31,7 @@
|
||||||
#include "output.h"
|
#include "output.h"
|
||||||
#include "fet_error.h"
|
#include "fet_error.h"
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||||
#define B460800 460800
|
#define B460800 460800
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
2
elf32.c
2
elf32.c
|
@ -19,7 +19,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef __APPLE__
|
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||||
#include <libelf.h>
|
#include <libelf.h>
|
||||||
#else
|
#else
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
|
|
Loading…
Reference in New Issue