diff -Naur iputils-s20121221.orig/clockdiff.c iputils-s20121221/clockdiff.c
--- iputils-s20121221.orig/clockdiff.c	2014-01-24 15:32:49.111934548 +0000
+++ iputils-s20121221/clockdiff.c	2014-01-24 15:32:14.438932610 +0000
@@ -23,6 +23,8 @@
 #include <sys/capability.h>
 #endif
 
+#include "types.h"
+
 void usage(void) __attribute__((noreturn));
 
 #define MAX_HOSTNAMELEN	NI_MAXHOST
diff -Naur iputils-s20121221.orig/ping.c iputils-s20121221/ping.c
--- iputils-s20121221.orig/ping.c	2014-01-24 15:32:49.111934548 +0000
+++ iputils-s20121221/ping.c	2014-01-24 15:32:14.459932611 +0000
@@ -59,6 +59,7 @@
  */
 
 #include "ping_common.h"
+#include "types.h"
 
 #include <netinet/ip.h>
 #include <netinet/ip_icmp.h>
diff -Naur iputils-s20121221.orig/ping6.c iputils-s20121221/ping6.c
--- iputils-s20121221.orig/ping6.c	2014-01-24 15:32:49.112934549 +0000
+++ iputils-s20121221/ping6.c	2014-01-24 15:32:14.439932610 +0000
@@ -67,6 +67,7 @@
  *	This program has to run SUID to ROOT to access the ICMP socket.
  */
 #include "ping_common.h"
+#include "types.h"
 
 #include <linux/filter.h>
 #include <netinet/ip6.h>
diff -Naur iputils-s20121221.orig/ping_common.c iputils-s20121221/ping_common.c
--- iputils-s20121221.orig/ping_common.c	2014-01-24 15:32:49.112934549 +0000
+++ iputils-s20121221/ping_common.c	2014-01-24 15:32:14.439932610 +0000
@@ -1,4 +1,5 @@
 #include "ping_common.h"
+#include "types.h"
 #include <ctype.h>
 #include <sched.h>
 #include <math.h>
diff -Naur iputils-s20121221.orig/ping_common.h iputils-s20121221/ping_common.h
--- iputils-s20121221.orig/ping_common.h	2014-01-24 15:32:14.419932609 +0000
+++ iputils-s20121221/ping_common.h	2014-01-24 15:33:08.206935616 +0000
@@ -35,6 +35,7 @@
 #include <linux/errqueue.h>
 
 #include "SNAPSHOT.h"
+#include "types.h"
 
 #define	DEFDATALEN	(64 - 8)	/* default data length */
 
diff -Naur iputils-s20121221.orig/rdisc.c iputils-s20121221/rdisc.c
--- iputils-s20121221.orig/rdisc.c	2014-01-24 15:32:49.113934549 +0000
+++ iputils-s20121221/rdisc.c	2014-01-24 15:32:14.450932610 +0000
@@ -62,6 +62,7 @@
 #include <syslog.h>
 
 #include "SNAPSHOT.h"
+#include "types.h"
 
 struct interface
 {
diff -Naur iputils-s20121221.orig/traceroute6.c iputils-s20121221/traceroute6.c
--- iputils-s20121221.orig/traceroute6.c	2014-01-24 15:32:49.113934549 +0000
+++ iputils-s20121221/traceroute6.c	2014-01-24 15:32:14.440932610 +0000
@@ -267,6 +267,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "types.h"
 #include "SNAPSHOT.h"
 
 #ifndef SOL_IPV6
diff -Naur iputils-s20121221.orig/types.h iputils-s20121221/types.h
--- iputils-s20121221.orig/types.h	1970-01-01 00:00:00.000000000 +0000
+++ iputils-s20121221/types.h	2014-01-24 15:32:14.440932610 +0000
@@ -0,0 +1,14 @@
+/* This is a small version of <bits/types.h> from glibc
+ * to take care of type u_char.
+ *
+ * Anthony G. Basile <blueness@gentoo.org>
+ */
+#ifndef _BITS_TYPES_H
+#define _BITS_TYPES_H   1
+
+typedef unsigned char u_char;
+typedef unsigned short int u_short;
+typedef unsigned int u_int;
+typedef unsigned long int u_long;
+
+#endif /* mini <bits/types.h> */
