summaryrefslogtreecommitdiffstats
path: root/Documentation/ptp/testptp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ptp/testptp.c')
-rw-r--r--Documentation/ptp/testptp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/ptp/testptp.c b/Documentation/ptp/testptp.c
index 2bc8abc57fa0..6c6247aaa7b9 100644
--- a/Documentation/ptp/testptp.c
+++ b/Documentation/ptp/testptp.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define _GNU_SOURCE
+#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>