Include nuttx/compiler.h from string.h

NuttX' string.h is using the FAR preprocessor definition, which is
defined in nuttx/compiler.h.  Thus, it should include it.

Signed-off-by: Michael Jung <mijung@gmx.net>
This commit is contained in:
Michael Jung 2022-03-02 09:49:26 +01:00 committed by Xiang Xiao
parent 4deaa6d29d
commit 9114f849ae

View File

@ -26,6 +26,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <stddef.h>