From 17e556503dfb119d714a71cd747125bb64724258 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 31 Aug 2023 12:20:08 +1000 Subject: [PATCH] tools: rename an enum value to fix a FreeBSD 14 name clash Fixes #931 --- tools/libinput-record.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libinput-record.c b/tools/libinput-record.c index be160383..23ca17ac 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -2577,7 +2577,7 @@ is_char_dev(const char *path) enum fposition { ERROR, - NOFILE, + NO_FILE, FIRST, LAST, }; @@ -2633,7 +2633,7 @@ find_output_file(int argc, char *argv[], const char **output_file) return ERROR; } #undef _m - return NOFILE; + return NO_FILE; } enum options {