]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Sockets/DataSource/DataSource.c
Fix the errors detected by the GCC compiler:
[mirror_edk2.git] / AppPkg / Applications / Sockets / DataSource / DataSource.c
index 31c38950a640ce3dd042be8a538fc7f9abd59577..6ca3b587e01237b8f25f9084de22eea1b6fbbca8 100644 (file)
@@ -31,6 +31,7 @@
 #include <sys/socket.h>\r
 \r
 #include <stdio.h>\r
+#include <string.h>\r
 \r
 \r
 #define DATA_SAMPLE_SHIFT           5       ///<  Shift for number of samples\r
@@ -1317,6 +1318,7 @@ Tcp4Open (
   @param [in] pContext  Context for this routine\r
 **/\r
 VOID\r
+EFIAPI\r
 TimerCallback (\r
   IN EFI_EVENT Event,\r
   IN VOID * pContext\r