ports/net-mgmt/ipcad/files/patch-headers.h
Robert Clausecker bf93a81b27 net-mgmt/ipcad: touchup and build fixes
- fix wrong test(1) option in bpf configure test
   preventing configuration to succeed when no bpf(4)
   device is present on the system
 - add a missing include to avoid undefined behaviour
   through homegrown artisanal offsetof(3) macro
 - set LICENSE

PR:		265512
Approved by:	vlm@lionet.info (maintainer timeout)
2022-09-09 08:55:49 +02:00

10 lines
199 B
C

--- headers.h.orig 2022-07-30 04:07:13 UTC
+++ headers.h
@@ -32,6 +32,7 @@
#define __need_sig_atomic_t 1
#endif
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>