mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Compile qemu-nbd also on OpenBSD and Solaris
basename() needs #include <libgen.h>. No prototype for daemon() is available on Solaris, but link succeeds. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
59d1c1c2d7
commit
2bff4b6fbe
2 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <signal.h>
|
||||
#include <libgen.h>
|
||||
|
||||
#define SOCKET_PATH "/var/lock/qemu-nbd-%s"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue