Skip to content

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