blob: 39fedc40975c1b816863deaf935d49260c4bd7e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- biosig4c++/biosig-dev.h.orig 2021-08-13 09:17:15 UTC
+++ biosig4c++/biosig-dev.h
@@ -35,6 +35,8 @@
#include <time.h>
#include "physicalunits.h"
+#include <sys/endian.h>
+#include <machine/endian.h> // for betoh16, etc.
#ifdef __cplusplus
extern "C" {
@@ -549,6 +551,9 @@ HDRTYPE* sopen_extended(const char* FileName, const ch
#elif defined(__linux__)
# include <endian.h>
# include <byteswap.h>
+
+#elif defined(__FreeBSD__)
+# include <machine/endian.h>
#elif defined(__GLIBC__) // for Hurd
# include <endian.h>
|