#include <stdlib.h>
#include <string.h>
#include <netdb.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
return 0;
}
- r = set_ensure_allocated(&context->connections, trivial_hash_func, trivial_compare_func);
+ r = set_ensure_allocated(&context->connections, NULL);
if (r < 0) {
log_oom();
return 0;
assert(context);
assert(fd >= 0);
- r = set_ensure_allocated(&context->listen, trivial_hash_func, trivial_compare_func);
+ r = set_ensure_allocated(&context->listen, NULL);
if (r < 0) {
log_oom();
return r;