"1. a young person especially between infancy and puberty
2. a person not yet of the age of majority..."
It depends on the definition of child you are using, I always thought the first to be correct.
https://www.merriam-webster.com/dictionary/child