#include <stddef.h>
#include <xseg/xseg.h>
-/* main mpeer structs */
+#include <st.h>
+/* main speer structs */
struct peer_req {
struct peerd *peer;
struct xseg_request *req;
ssize_t retval;
xport portno;
void *priv;
+#ifdef ST_THREADS
+ st_cond_t cond;
+#endif
};
struct peerd {