Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sysmacros include file for commands-pisix file #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chenw23
Copy link

@chenw23 chenw23 commented Nov 29, 2019

In newer version of Linux, the definition of some commands has moved into this file and it should be manually included to avoid compilation and installation failure.

Please refer to http://patchwork.ozlabs.org/patch/709415/ and
https://github.com/qemu/qemu/blob/master/include/sysemu/os-posix.h.

System Version: The original files could not install on Ubuntu 19.10 and will work fine after this change.

WANG, Chen added 2 commits November 28, 2019 18:39
In newer version of Linux, the definition of some commands has moved into this file and it should be manually included to avoid compilation and installation failure.
This configuration is needed for successful compilation of the project and this change will work in hand with the other commit in this pull request.
@cyyzero
Copy link

cyyzero commented Nov 9, 2021

hw/9pfs/virtio-9p.c also need to include <sys/sysmacros.h> on my OS Ubuntu 20.04 (5.11.0-38-generic).

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