Translation:A four year old child, not having what to do, falls asleep.
They must replace "what" with "anything," and then it works fine.
Do you mean a four year old child having nothing to do? Or a four year old not knowing what to do? But as is the English translation makes no sense to anyone from England. Please give us one of these as an option. Thanks.