0bc48c89f8
- Add comment for patch-util_avutil.h (from commit log) - Remove patches, found the same change incorporated: patches/patch-libasync_itree.h patches/patch-libasync_qhash.h patches/patch-libasync_vec.h (upstream) - update 0.8.2 to 0.8.4 * Changes in release 0.8.4 - Switch to new resolver library interface, as previous way of reloading resolv.conf is no longer compatible with glibc. - Set IP_FREEBIND option if available. - Added systemd avenger.service file. * Changes in release 0.8.3 - Updated to work with gcc 4.7.
20 lines
540 B
C
20 lines
540 B
C
$NetBSD: patch-util_avutil.h,v 1.2 2014/11/22 03:01:33 mef Exp $
|
|
|
|
Fix build on SunOS.
|
|
|
|
--- util/avutil.h.orig 2008-05-20 20:48:23.000000000 +0200
|
|
+++ util/avutil.h 2012-01-27 11:02:13.469861902 +0100
|
|
@@ -70,6 +70,13 @@ int clock_gettime (int, struct timespec
|
|
# define CLOCK_PROF 2
|
|
#endif /* !CLOCK_PROF */
|
|
|
|
+#ifndef HAVE_INT16
|
|
+typedef short int16_t;
|
|
+#endif /* !HAVE_INT16 */
|
|
+#ifndef HAVE_U_INT16
|
|
+typedef unsigned short u_int16_t;
|
|
+#endif /* !HAVE_U_INT16 */
|
|
+
|
|
#ifndef HAVE_INT32_T
|
|
typedef int int32_t;
|
|
#endif /* !HAVE_INT32_T */
|