diff options
Diffstat (limited to 'project/headers.mk')
-rw-r--r-- | project/headers.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project/headers.mk b/project/headers.mk index 77f7cf1..db8aab0 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -103,6 +103,11 @@ build/headers.tag: $(ARCH_HEADERS) touch $@ headers.tag: build/headers.tag $(ARCH_GEN_H) + grep 'struct msghdr {' $(SOURCE_DIR)/include/sys/socket.h \ + || cat $(PORT_DIR)/arch/$(ARCH)/bits/socket.h.in \ + > build/include/bits/socket.h \ + || cat $(PORT_DIR)/arch/$(ARCH)/bits/socket.h \ + > build/include/bits/socket.h grep -v '^@@@' build/include/bits/ioctl.h \ > build/include/bits/ioctl.h.tmp grep 'struct winsize' $(SOURCE_DIR)/include/sys/ioctl.h \ |