Change <base/fd.h> to use one centralized check to see if it is a system fd