diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-01-24 00:03:02 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-01-24 00:03:02 +0000 |
commit | c68fe4a59b11ea998ecf7ff1a9f1312481c18b15 (patch) | |
tree | 6cb89be80de2572cea95058e7dd5fea0727f8d7c | |
parent | db47e69e340b2b8e1edd46739416fc8361d26384 (diff) |
remove C99-ism
git-svn-id: file:///home/lennart/svn/public/ivam2/trunk@55 dbf6933d-3bce-0310-9bcc-ed052ba35b35
-rw-r--r-- | src/buffio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffio.c b/src/buffio.c index d8cafaa..e672b57 100644 --- a/src/buffio.c +++ b/src/buffio.c @@ -28,6 +28,7 @@ #include <errno.h> #include <stdio.h> #include <sys/socket.h> +#include <sys/types.h> #include <oop.h> @@ -511,8 +512,8 @@ char* buffio_read_line(struct buffio *b, char *c, size_t l) { } void buffio_dump(struct buffio *b) { - assert(b); size_t i; + assert(b); fprintf(stderr, "%p INPUT_BUFFER: [", b); for (i = 0; i < b->input_length; i++) { |