projects
/
nbd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e32475
)
include sdp_inet.h for build with SDP
author
Led <led@altlinux.ru>
Fri, 11 Dec 2009 15:30:04 +0000
(17:30 +0200)
committer
Wouter Verhelst <w@uter.be>
Thu, 19 Aug 2010 17:59:05 +0000
(19:59 +0200)
nbd-client.c
patch
|
blob
|
history
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-client.c
b/nbd-client.c
index
8fc39d5
..
b0631ca
100644
(file)
--- a/
nbd-client.c
+++ b/
nbd-client.c
@@
-41,6
+41,10
@@
#define MY_NAME "nbd_client"
#include "cliserv.h"
+#ifdef WITH_SDP
+#include <sdp_inet.h>
+#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
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-96,6
+96,10
@@
#define MY_NAME "nbd_server"
#include "cliserv.h"
+#ifdef WITH_SDP
+#include <sdp_inet.h>
+#endif
+
/** Default position of the config file */
#ifndef SYSCONFDIR
#define SYSCONFDIR "/etc"