A hydrogen bond requires the hydrogen on a functional group with -ZH to be attracted to a polar Z, where Z can be oxygen, nitrogen, or flourine. This fulfills that requirement.
You'll often see things say that carbonyls can't hydrogen bond, which is why ketones and aldehydes have lower boiling points than alcohols. What they actually mean is that aldehydes and ketones can't hydrogen bond to THEMSELVES, they can still fulfill the requirement as polar oxygens when an H attached to an O, N, or F comes by.