Page MenuHomeFreeBSD

security/arpCounterattack: fix build with GCC architectures
ClosedPublic

Authored by pkubaj on Jul 27 2019, 8:20 PM.
Tags
None
Referenced Files
F175930965: D21091.diff
Wed, Oct 14, 2:39 PM
F175930955: D21091.diff
Wed, Oct 14, 2:39 PM
Unknown Object (File)
Tue, Oct 6, 4:01 AM
Unknown Object (File)
Tue, Oct 6, 4:01 AM
Unknown Object (File)
Sat, Sep 26, 3:52 AM
Unknown Object (File)
Mon, Sep 21, 10:54 PM
Unknown Object (File)
Mon, Sep 21, 10:47 PM
Unknown Object (File)
Mon, Sep 21, 7:18 PM
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