Actually there are two equally valid definitions... One is anyone who is pre-pubecent. This of course has the problem that anyone with a developmental disorder that prevents puberty would be considered forever a child, but thats a seperate issue.
The other definition is anyone who is below the age of majorty. In this case it is perfectly valid to consider a person who has already begun or finished puberty to be a child.