Skip to content

Bug #907 fix build open bsd#940

Merged
fklassen merged 3 commits into4.5.2-beta1from
Bug_#907_fix_build_OpenBSD
Jul 4, 2025
Merged

Bug #907 fix build open bsd#940
fklassen merged 3 commits into4.5.2-beta1from
Bug_#907_fix_build_OpenBSD

Conversation

@fklassen
Copy link
Copy Markdown
Member

@fklassen fklassen commented Jul 4, 2025

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.
  • If the code introduces new aliases, I provide a valid use case for all plugin users down below.
In file included from ../../src/common/sendpacket.h:30: 
/usr/include/netinet/if_ether.h:154:17: fatal error: field has incomplete type 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                        ^
/usr/include/netinet/if_ether.h:154:10: note: forward declaration of 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                 ^
1 error generated.

...

brad0 and others added 3 commits December 9, 2024 17:50
In file included from ../../src/common/sendpacket.h:30:
/usr/include/netinet/if_ether.h:154:17: fatal error: field has incomplete type 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                        ^
/usr/include/netinet/if_ether.h:154:10: note: forward declaration of 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                 ^
1 error generated.
Fix building on OpenBSD

```
In file included from ../../src/common/sendpacket.h:30: 
/usr/include/netinet/if_ether.h:154:17: fatal error: field has incomplete type 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                        ^
/usr/include/netinet/if_ether.h:154:10: note: forward declaration of 'struct arphdr'
        struct   arphdr ea_hdr;                 /* fixed-size header */
                 ^
1 error generated.
```
@fklassen fklassen added the bug label Jul 4, 2025
@fklassen fklassen merged commit d39aa38 into 4.5.2-beta1 Jul 4, 2025
2 checks passed
@fklassen fklassen deleted the Bug_#907_fix_build_OpenBSD branch July 4, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants