bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] getndelim2.c:104: `ptrdiff_t' undeclared (first use in this


From: Simon Josefsson
Subject: [Bug-gnulib] getndelim2.c:104: `ptrdiff_t' undeclared (first use in this function)
Date: Fri, 02 Jul 2004 16:08:45 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

2004-07-02  Simon Josefsson  <address@hidden>

        * getndelim2.c: Include stddef.h, for ptrdiff_t.  (FreeBSD 4.9
        failed without this.)

Index: getndelim2.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getndelim2.c,v
retrieving revision 1.7
diff -u -p -u -w -r1.7 getndelim2.c
--- getndelim2.c        16 May 2004 19:03:42 -0000      1.7
+++ getndelim2.c        2 Jul 2004 14:07:18 -0000
@@ -27,6 +27,7 @@
 #include "getndelim2.h"
 
 #include <stdlib.h>
+#include <stddef.h>
 
 #include "unlocked-io.h"
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]