Skip to content

Fix building on OpenBSD#907

Merged
fklassen merged 1 commit intoappneta:Bug_#907_fix_build_OpenBSDfrom
brad0:build_openbsd
Jul 4, 2025
Merged

Fix building on OpenBSD#907
fklassen merged 1 commit intoappneta:Bug_#907_fix_build_OpenBSDfrom
brad0:build_openbsd

Conversation

@brad0
Copy link
Copy Markdown
Contributor

@brad0 brad0 commented Dec 9, 2024

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.

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.
fklassen added a commit that referenced this pull request Jul 4, 2025
@fklassen fklassen changed the base branch from master to Bug_#907_fix_build_OpenBSD July 4, 2025 21:58
@fklassen fklassen merged commit e98dde5 into appneta:Bug_#907_fix_build_OpenBSD Jul 4, 2025
fklassen added a commit that referenced this pull request Jul 4, 2025
@brad0 brad0 deleted the build_openbsd branch July 21, 2025 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants