diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | qemu-nbd.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -2141,7 +2141,7 @@ esac tools= if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools" - if [ "$linux" = "yes" ] ; then + if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then tools="qemu-nbd\$(EXESUF) $tools" if [ "$check_utests" = "yes" ]; then tools="check-qint check-qstring check-qdict check-qlist $tools" @@ -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" |