Do not include os.h from signals.h. Instead, ensure it's included earlier.