Those headers are from hl2mp (and aren't even necessarily current for that) and may differ (and *do* differ in a lot of cases) for CS:S.
Because of this the assembly your compiler generates won't match the server binary and won't work. It's usually better to reverse engineer the mod you want and access things via offsets.