It’s a bit complex.
Immediate family counts. First cousins is a bit unclear, since I couldn’t find examples of first cousins fighting each other in ASOIAF; second cousins don’t count (since Robert Baratheon killing Rhaegar isn’t considered kinslaying by anyone).
However, foster brothers do count – which is a big part of the reason why the custom of fostering exists in order to prevent future wars by harnessing the power of taboo.