From d1a2b102df91d6e478d1fa25d8a3e38f0b98e374 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 2 Mar 1997 18:41:32 +0000 Subject: (__need_error_t): New macro, before including . [!__const] (__const): New macro. [!__error_t_defined] (error_t): New typedef. --- string/argz.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/string/argz.h b/string/argz.h index 255e1d345d..e17b742cf7 100644 --- a/string/argz.h +++ b/string/argz.h @@ -1,5 +1,5 @@ /* Routines for dealing with '\0' separated arg vectors. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. Written by Miles Bader The GNU C Library is free software; you can redistribute it and/or @@ -22,9 +22,18 @@ #define __ARGZ_H__ 1 #include -#include /* Define error_t. */ +#define __need_error_t +#include #include /* Need size_t, and strchr is called below. */ +#ifndef __const +#define __const const +#endif + +#ifndef __error_t_defined +typedef int error_t; +#endif + __BEGIN_DECLS -- cgit v1.2.3