[PATCH v1] client/btpclient: Fix missing errno.h include

Jinwang Li <[email protected]>
Newsgroups org.kernel.vger.linux-bluetooth
Message-ID <[email protected]>
EINVAL is used in create_uuid() but errno.h was not included,
causing a build failure.

Signed-off-by: Jinwang Li <[email protected]>
---
 client/btpclient/gatt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/client/btpclient/gatt.c b/client/btpclient/gatt.c
index d384b9c74..867bb6cf1 100644
--- a/client/btpclient/gatt.c
+++ b/client/btpclient/gatt.c
@@ -11,6 +11,7 @@
 #include <config.h>
 #endif
 
+#include <errno.h>
 #include <stdlib.h>
 
 #include <ell/ell.h>
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.