mazhiyuan 4 лет назад
Родитель
Сommit
af5657d396
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      azure-port/lib/azure_certs.c
  2. 1 0
      azure-port/pal/src/socketio_berkeley.c

+ 1 - 1
azure-port/lib/azure_certs.c

@@ -3,7 +3,7 @@
 
 /* This file contains certs needed to communicate with Azure (IoT) */
 
-#include "certs.h"
+#include "certs/certs.h"
 
 const char certificates[] = 
 /* DigiCert Baltimore Root */

+ 1 - 0
azure-port/pal/src/socketio_berkeley.c

@@ -26,6 +26,7 @@
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <sys/select.h>
+#include <sys/ioctl.h>
 
 #include <netdb.h>
 #include <unistd.h>