]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/fdtgrep.c
sh: Do not provide strncmp
[people/ms/u-boot.git] / tools / fdtgrep.c
index f51f5f15f5497e063158d81efa34c8bbd11eaa2a..8d33205ea2a0938f2ca073c8de1f916b392330e0 100644 (file)
 
 #include <assert.h>
 #include <ctype.h>
+#include <errno.h>
 #include <getopt.h>
+#include <fcntl.h>
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 
-#include <../include/libfdt.h>
-#include <libfdt_internal.h>
+#include "fdt_host.h"
+#include "libfdt_internal.h"
 
 /* Define DEBUG to get some debugging output on stderr */
 #ifdef DEBUG