xorgproto

X.Org protocol headers for X11 development

brewmacoslinux
Try with needOr install directly
Source

About

X.Org: Protocol Headers

Examples

check installed X11 protocol headers$ ls $(brew --prefix xorgproto)/include/X11/extensions/
find X protocol header files on system$ find $(brew --prefix xorgproto) -name '*.h' -type f
view available protocol definitions$ cat $(brew --prefix xorgproto)/include/X11/Xproto.h
compile X11 application using these headers$ gcc myapp.c -I$(brew --prefix xorgproto)/include -o myapp
verify xorgproto installation path$ brew --prefix xorgproto