We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea19b3 commit 6b69e4bCopy full SHA for 6b69e4b
src/parser_lyb.c
@@ -17,7 +17,11 @@
17
#include <stdlib.h>
18
#include <string.h>
19
#include <inttypes.h>
20
-#include <endian.h>
+#ifdef __APPLE__
21
+# include <machine/endian.h>
22
+#else
23
+# include <endian.h>
24
+#endif
25
26
#include "libyang.h"
27
#include "common.h"
src/printer_lyb.c
@@ -18,7 +18,11 @@
#include <assert.h>
#include <stdint.h>
28
#include "printer.h"
0 commit comments