You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/19 15:50:35 UTC

[incubator-nuttx] branch master updated: fs/partition/fs_gpt.c: Fix compilation error

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b10658653b fs/partition/fs_gpt.c: Fix compilation error
b10658653b is described below

commit b10658653ba4567191ffcd98e0e4c1a3df3f0db0
Author: Jukka Laitinen <ju...@ssrc.tii.ae>
AuthorDate: Tue Jul 19 15:47:38 2022 +0400

    fs/partition/fs_gpt.c: Fix compilation error
    
    PRI?OFF macros are defined in inttypes, so include it
    
    Signed-off-by: Jukka Laitinen <ju...@ssrc.tii.ae>
---
 fs/partition/fs_gpt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/partition/fs_gpt.c b/fs/partition/fs_gpt.c
index 13184e7f2b..d337c78445 100644
--- a/fs/partition/fs_gpt.c
+++ b/fs/partition/fs_gpt.c
@@ -26,6 +26,7 @@
 #include <ctype.h>
 #include <debug.h>
 #include <endian.h>
+#include <inttypes.h>
 
 #include <nuttx/kmalloc.h>