Bacterial infection of a gland in the eyelid