aboutsummaryrefslogtreecommitdiff
path: root/net/linuxptp/patches/010-64bit.patch
blob: 043c35e59ef655efae0ce7b75b5ed9f3beaef95a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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>