aboutsummaryrefslogtreecommitdiff
path: root/devel/elfkickers/files/patch-elftoc__pieces.c
blob: 4c9e8542b09625d4f62ac4606a8b763cbd3f0a03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./elftoc/pieces.c.orig	2011-05-26 03:25:14.000000000 +0200
+++ ./elftoc/pieces.c	2011-06-01 17:13:31.000000000 +0200
@@ -16,6 +16,10 @@
 #include "out.h"
 #include "pieces.h"
 
+#ifdef __FreeBSD__
+typedef uint64_t Elf32_Xword;
+#endif
+
 /* Flags used to insert warnings in the generated source code.
  */
 #define	PW_MISALIGNED	0x0001	/* piece misaligned for original type */