diff mbox series

[10/25] nfsio.c: include dbench.h before nfs.h

Message ID 20220209222610.438470-11-mcgrof@kernel.org (mailing list archive)
State New, archived
Headers show
Series dbench: fix compile warnings and update a bit | expand

Commit Message

Luis Chamberlain Feb. 9, 2022, 10:25 p.m. UTC
This is so _GNU_SOURCE is defined so asprintf() is declared
when including <stdio.h>.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
---
 nfsio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/nfsio.c b/nfsio.c
index 7583110..1b49bd3 100644
--- a/nfsio.c
+++ b/nfsio.c
@@ -17,8 +17,8 @@ 
 
 #define _FILE_OFFSET_BITS 64
 
-#include "nfs.h"
 #include "dbench.h"
+#include "nfs.h"
 
 #include <stdio.h>
 #include "mount.h"