0004-test-add-missing-header.patch 804 B

12345678910111213141516171819202122232425262728293031323334
  1. From d3c098c2fde55ddf0c7d56eae56925103d35da73 Mon Sep 17 00:00:00 2001
  2. From: Romain Naour <romain.naour@gmail.com>
  3. Date: Sat, 13 May 2017 18:56:51 +0200
  4. Subject: [PATCH] test: add missing header
  5. test/attest.c: In function 'at_command':
  6. test/attest.c:43:2: error: unknown type name 'fd_set'
  7. fd_set rfds;
  8. ^
  9. Fixes:
  10. http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/
  11. Signed-off-by: Romain Naour <romain.naour@gmail.com>
  12. ---
  13. test/attest.c | 2 ++
  14. 1 file changed, 2 insertions(+)
  15. diff --git a/test/attest.c b/test/attest.c
  16. index 12ba682..2626cf1 100644
  17. --- a/test/attest.c
  18. +++ b/test/attest.c
  19. @@ -35,6 +35,8 @@
  20. #include <sys/ioctl.h>
  21. #include <sys/socket.h>
  22. +#include <sys/select.h>
  23. +
  24. #include <bluetooth/bluetooth.h>
  25. #include <bluetooth/rfcomm.h>
  26. --
  27. 2.9.3