}
#endif
+#ifdef HAVE_SYS_SOCKET_H
+
#ifdef WRAP_recv
#include <sys/socket.h>
WRAPPER2(int, recv, int s, void *buf, size_t len, int flags)
}
#endif
+#endif /* HAVE_SYS_SOCKET_H */
+
#ifdef WRAP_gethostname
WRAPPER2(int, gethostname, char *name, size_t len)
{
}
#endif
+#ifdef HAVE_NETDB_H
+
#ifdef WRAP_gethostbyname
#include <netdb.h>
WRAPPER2(struct hostent *, gethostbyname, const char *name)
}
#endif
+#endif /* HAVE_NETDB_H */
+
+#ifdef SYS_WAIT_H
+
#ifdef WRAP_wait
#include <sys/wait.h>
WRAPPER2(pid_t, wait, int *status)
}
#endif
+#endif /* HAVE_SYS_WAIT_H */
+
#ifdef WRAP_popen
WRAPPER2(FILE *, popen, const char *command, const char *mode)
{
}
#endif
+#if defined(HAVE_SYS_IPC_H) && defined(HAVE_SYS_SEM_H)
+
#ifdef WRAP_semop
#include <sys/ipc.h>
#include <sys/sem.h>
}
#endif
+#endif /* defined(HAVE_SYS_IPC_H) && defined(HAVE_SYS_SEM_H) */
+