diff options
author | Eli Zaretskii <eliz@gnu.org> | 2002-04-17 19:39:00 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2002-04-17 19:39:00 +0000 |
commit | 1a4140b0b4c980ac326a55425f41d26ff265d32c (patch) | |
tree | 7ac95adcd1544d1747bb6f15ae05fc246eb78d80 /src/s | |
parent | 18f10eda02b621d813d9f66b0ffb9aea180e7a58 (diff) | |
download | emacs-1a4140b0b4c980ac326a55425f41d26ff265d32c.tar.gz |
(HAVE_LIBKSTAT): Define only if not already defined.
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 be6edf0aa94..ed82812bc67 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. - ghazi@caip.rutgers.edu, 7/21/97. */ + ghazi@caip.rutgers.edu, 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__ |