fdp: change the order of includes to fix Windows build error
authorVincent Fu <vincent.fu@samsung.com>
Tue, 28 Feb 2023 18:01:32 +0000 (13:01 -0500)
committerVincent Fu <vincent.fu@samsung.com>
Tue, 28 Feb 2023 18:19:13 +0000 (13:19 -0500)
On Windows fio.h includes some definitions needed by file.h.
fio.h actually includes file.h already but we can retain the file.h
include in fdp.c since it refers to some declarations that were added
there.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
fdp.c

diff --git a/fdp.c b/fdp.c
index c50af1e241cc071573fd8fcf6e07649dc7859736..84e04fce61f4bea57ee3c8b6db56dd2f176b65aa 100644 (file)
--- a/fdp.c
+++ b/fdp.c
@@ -9,8 +9,8 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include "file.h"
 #include "fio.h"
+#include "file.h"
 
 #include "pshared.h"
 #include "fdp.h"