Page MenuHomeFreeBSD

security/arpCounterattack: fix build with GCC architectures
ClosedPublic

Authored by pkubaj on Jul 27 2019, 8:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 6 2024, 2:35 AM
Unknown Object (File)
May 6 2024, 2:35 AM
Unknown Object (File)
May 6 2024, 2:35 AM
Unknown Object (File)
May 6 2024, 2:23 AM
Unknown Object (File)
Apr 20 2024, 3:43 PM
Unknown Object (File)
Mar 4 2024, 5:25 AM
Unknown Object (File)
Jan 13 2024, 5:18 PM
Unknown Object (File)
Dec 28 2023, 8:17 AM
Subscribers
None

Details

Summary

When building with GCC, sys/types.h needs to be included:
In file included from arpCounterattack.cpp:35:
/usr/include/net/bpf.h:49:9: error: 'u_int32_t' does not name a type; did you mean 'uint32_t'?
typedef u_int32_t bpf_u_int32;

^~~~~~~~~
uint32_t

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25545
Build 24157: arc lint + arc unit