24 hours is ok. 48 is a little more concerning. One of the best laxatives for these little guys is canned pumpkin (not pie filling). Just add 1 tsp to his meals and this will have a gentle laxative effect.
If this does not work, you are dealing with a bigger problem and need to see your vet.
Let me know if you still have questions.