diff --git a/lib/roken/gai_strerror.c b/lib/roken/gai_strerror.c index d07ddf163..061ed0898 100644 --- a/lib/roken/gai_strerror.c +++ b/lib/roken/gai_strerror.c @@ -40,7 +40,7 @@ RCSID("$Id$"); static struct gai_error { int code; - char *str; + const char *str; } errors[] = { {EAI_NOERROR, "no error"}, #ifdef EAI_ADDRFAMILY