diff options
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/sol2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/s/sol2.h b/src/s/sol2.h index be6edf0aa9..ed82812bc6 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -27,8 +27,11 @@ #define LIBS_SYSTEM -lsocket -lnsl -lkstat /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. - [email protected], 7/21/97. */ + [email protected], 7/21/97. Don't redefine if already defined + (e.g., by config.h). */ +#ifndef HAVE_LIBKSTAT #define HAVE_LIBKSTAT +#endif /* eggert thinks all versions of SunPro C allowed this. */ #ifndef __GNUC__ |