Why is tcphdr protected by _GNU_SOURCE?

I'm trying to get some 3rd party code to compile under OpenWrt 18.06 and I'm running into some issues with netinet vs. linux network header includes. The code includes netinet/tcp.h which musl wraps with #ifdef _GNU_SOURCE for some reason. Can anyone help me understand why?