Private
Public Access
2
0

examples: include endian.h for be16toh and le16toh declarations

this gets exposed on musl, on glibc endian.h gets pulled in indirectly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Khem Raj
2018-02-05 09:45:02 -08:00
committed by Brendan Le Foll
parent eda9d03547
commit c9566bdc6f
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
*/
/* standard headers */
#include <endian.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -28,6 +28,7 @@
/* standard headers */
#include <stdlib.h>
#include <unistd.h>
#include <endian.h>
/* mraa header */
#include "mraa/iio.h"