Some say that even if this child is naturally weak such that he cannot eat a kezayit of grain, but he has reached the stage where others like him are able to eat a kezayit of grain within the time of achilat pras – one must distance oneself from his excrement and his urine. This is the opinion of our teacher, the Beit Yosef, in section 1, see there. And in his great book, he explained that the opinion of Rashi is not so, and according to Rashi we require that he himself specifically be able to eat, see there. And there is one who says that the opinion of Rashi is also thus (Taz). However, several of the great authorities ruled like Rashi, and wrote that all the poskim hold thus, that we require that he himself be able to eat a kezayit of grain within the time of achilat pras. And they wrote further that even if he is able to eat, if it has been several days since he ate a kezayit of grain – one does not need to distance oneself from his excrement and his urine, even though regarding an adult it is not so (Bach, and Magen Avraham, and Eliyah Rabbah, and Pri Chadash). For regarding an adult, there is certainly no distinction whether he ate or did not eat, or between being able to eat and not being able to eat, for from all of them one must distance oneself, as is explained in the Gemara ibid.
יש אומרים דאפילו הקטן הזה חלוש בטבע שאינו יכול לאכול כזית דגן, אבל הגיע לכלל שאחרים כיוצא בו יכולין לאכול כזית דגן בכדי אכילת פרס – מרחיקין מצואתו וממימי רגליו. וזהו דעת רבינו הבית יוסף בסעיף א, עיין שם. ובספרו הגדול ביאר דדעת רש"י אינו כן, ולרש"י בעינן שהוא בעצמו יכול לאכול דווקא, עיין שם. ויש מי שאומר דגם דעת רש"י כן הוא (ט"ז). אבל כמה מהגדולים פסקו כרש"י, וכתבו דכל הפוסקים סבירא להו כן דבעינן שיכול בעצמו לאכול כזית דגן בכדי אכילת פרס. וכתבו עוד דאפילו יכול לאכול, אם זה כמה ימים שלא אכל כזית דגן – אינו צריך להרחיק מצואתו ומימי רגליו, אף על גב דבגדול אינו כן (ב"ח, ומגן אברהם, ואליה רבה, ופרי חדש). דבגדול וודאי אין חילוק אם אכל או לא אכל, או בין יכול לאכול לבין אינו יכול לאכול, דמכולם צריך להרחיק כמבואר בגמרא שם.