transport: fix init_pollfd function parameter
The init_pollfd function parameter was declared as
pldm_transport_af_mctp, but it seems like it is intended to use
pldm_transport instead. The headers were not included in c files, so it
didn't cause conflicting types at compile time.
Change-Id: I54f1397efee0ae5e68a24f1473e0395f02d53eaf
Fixes: c1b66f4 ("requester: Add new APIs to support multiple transports")
Fixes: ba6971b ("requester: Add af_mctp transport")
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/src/transport/af-mctp.c b/src/transport/af-mctp.c
index ae00fe4..ab2cc1c 100644
--- a/src/transport/af-mctp.c
+++ b/src/transport/af-mctp.c
@@ -3,6 +3,7 @@
#include "container-of.h"
#include "libpldm/pldm.h"
#include "libpldm/transport.h"
+#include "libpldm/transport/af-mctp.h"
#include "socket.h"
#include "transport.h"