$NetBSD: patch-aa,v 1.13 2008/10/18 11:55:11 adam Exp $

--- lgl/stdio.in.h.orig	2008-10-05 15:41:43.000000000 +0200
+++ lgl/stdio.in.h
@@ -37,6 +37,14 @@
 #include <stdarg.h>
 #include <stddef.h>
 
+#ifdef __DragonFly__
+#include <machine/stdint.h>
+#ifndef _SSIZE_T_DECLARED
+#define _SSIZE_T_DECLARED
+typedef __ssize_t	ssize_t;
+#endif
+#endif
+
 #if (@GNULIB_FSEEKO@ && @REPLACE_FSEEKO@) \
   || (@GNULIB_FTELLO@ && @REPLACE_FTELLO@) \
   || (@GNULIB_GETDELIM@ && !@HAVE_DECL_GETDELIM@) \
