1b2732e9dSimarom#include <stdio.h>
2b2732e9dSimarom#include <sys/un.h>
3b2732e9dSimarom#include <string.h>
4b2732e9dSimarom
5b2732e9dSimarom#include <zmq.h>
6b2732e9dSimarom#include <zmq_utils.h>
7b2732e9dSimarom#include "zmq_compat.h"
8b2732e9dSimarom
9b2732e9dSimaromint get_ipc_path_max_len(void) {
10b2732e9dSimarom    struct sockaddr_un *dummy;
11b2732e9dSimarom    return sizeof(dummy->sun_path) - 1;
12b2732e9dSimarom}
13