packages/net/linuxptp/patches/010-64bit.patch
Rosen Penev 31a8112c51 linuxptp: fix bad formats with ppc64 and mips64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 07:04:17 -08:00

12 lines
351 B
Diff

--- a/ts2phc_slave.c
+++ b/ts2phc_slave.c
@@ -4,6 +4,9 @@
* @note Copyright (C) 2019 Balint Ferencz <fernya@sch.bme.hu>
* @note SPDX-License-Identifier: GPL-2.0+
*/
+#ifndef __SANE_USERSPACE_TYPES__
+#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
+#endif
#include <errno.h>
#include <linux/ptp_clock.h>
#include <poll.h>