How they will get along depends on several things. Will they be penned together? How big of an area? How many chickens in that area? Do you know if the piglet has been around chickens? Will the chicken feed be able to be kept up where the pig can't reach it?
I have pots in the barn with my chickens and the only problem I have had was keeping them out of each others food. I have given up keeping the chickens out of the pigs feed but it doesn't seem to hurt them at all. I feed pot bellied pig pellets.
My pots have free run of the barn with a walled in open door pen for them to sleep in and most days one of the barn doors is left open for them to come and go. There are usually a couple of chickens (hens) that nap in the pen with them during the day. My pigs have never bothered the chickens, in fact once in a while I'll see a chicken riding on one of the pigs backs.
But they all have plenty of room.
The more crowded animals are, the more likely you are to have fighting and health issues.