From: Led Date: Fri, 11 Dec 2009 15:30:04 +0000 (+0200) Subject: include sdp_inet.h for build with SDP X-Git-Url: http://git.alex.org.uk include sdp_inet.h for build with SDP --- diff --git a/nbd-client.c b/nbd-client.c index 8fc39d5..b0631ca 100644 --- a/nbd-client.c +++ b/nbd-client.c @@ -41,6 +41,10 @@ #define MY_NAME "nbd_client" #include "cliserv.h" +#ifdef WITH_SDP +#include +#endif + int check_conn(char* devname, int do_print) { char buf[256]; char* p; diff --git a/nbd-server.c b/nbd-server.c index 844e416..2d73079 100644 --- a/nbd-server.c +++ b/nbd-server.c @@ -96,6 +96,10 @@ #define MY_NAME "nbd_server" #include "cliserv.h" +#ifdef WITH_SDP +#include +#endif + /** Default position of the config file */ #ifndef SYSCONFDIR #define SYSCONFDIR "/etc"