aboutsummaryrefslogtreecommitdiff
path: root/kms/client/kms_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms/client/kms_client.h')
-rw-r--r--kms/client/kms_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kms/client/kms_client.h b/kms/client/kms_client.h
index dceef20..254637b 100644
--- a/kms/client/kms_client.h
+++ b/kms/client/kms_client.h
@@ -3,12 +3,13 @@
#include "../kms_shared.h"
#include <sys/types.h>
+#include <limits.h>
typedef struct {
pid_t kms_server_pid;
int socket_fd;
int client_fd;
- char socket_path[255];
+ char socket_path[PATH_MAX];
} gsr_kms_client;
/* |card_path| should be a path to card, for example /dev/dri/card0 */