From 6c4c7636f9629914d85531ea1dfe6abc275164ac Mon Sep 17 00:00:00 2001
From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org>
Date: Wed, 25 Oct 2023 15:23:20 +0000
Subject: [PATCH] community/acpid: fix lfs64 usage

--- a/sock.c
+++ b/sock.c
@@ -54,8 +54,8 @@
 static int
 isfdtype(int fd, int fdtype)
 {
-	struct stat64 st;
-	if (fstat64(fd, &st) != 0)
+	struct stat st;
+	if (fstat(fd, &st) != 0)
 		return -1;
 	return ((st.st_mode & S_IFMT) == (mode_t)fdtype);
 }
