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)
Wed, Mar 12, 7:27 AM
Unknown Object (File)
Feb 13 2025, 10:35 PM
Unknown Object (File)
Feb 12 2025, 9:44 PM
Unknown Object (File)
Jan 14 2025, 11:44 PM
Unknown Object (File)
Jan 6 2025, 2:07 PM
Unknown Object (File)
Dec 25 2024, 3:43 AM
Unknown Object (File)
Nov 30 2024, 7:05 AM
Unknown Object (File)
Nov 28 2024, 5:04 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
Lint Not Applicable
Unit
Tests Not Applicable