imaxdiv: Avoid link error on OSF/1 with DTK cc.
[gnulib.git] / lib / setenv.c
index 173d95f..0a5f67d 100644 (file)
@@ -350,6 +350,9 @@ weak_alias (__clearenv, clearenv)
 #if HAVE_SETENV
 
 # undef setenv
+# if !HAVE_DECL_SETENV
+extern int setenv (const char *, const char *, int);
+# endif
 # define STREQ(a, b) (strcmp (a, b) == 0)
 
 int