include unistd.h in oonf.h to keep modern GCC (e.g. in LEDE) from complaining about...
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 12 Sep 2018 13:00:00 +0000 (15:00 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Wed, 12 Sep 2018 13:00:00 +0000 (15:00 +0200)
include/oonf/oonf.h

index 6290862..59ee1c7 100644 (file)
 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
 #include <inttypes.h>
 #include <stdbool.h>
+#include <unistd.h>
 #else
 #error "OONF needs C99"
 #endif /* __STDC_VERSION__ && __STDC_VERSION__ >= 199901L */