diff options
| author | Richard M. Stallman | 2003-09-19 14:36:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-09-19 14:36:22 +0000 |
| commit | 82377c38bb108e6edbb2e5db95060deb7c15d28c (patch) | |
| tree | fe77fe6cec675e298c1b34a19360ac721a6bb19e /src | |
| parent | dd418e06cf79dc99d91a7209599b9d691011b1b1 (diff) | |
| download | emacs-82377c38bb108e6edbb2e5db95060deb7c15d28c.tar.gz emacs-82377c38bb108e6edbb2e5db95060deb7c15d28c.zip | |
Don't include lisp.h.
(P_): Define it here (as well as elsewhere).
Diffstat (limited to 'src')
| -rw-r--r-- | src/atimer.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/atimer.h b/src/atimer.h index f7074f383db..3ecc97e5511 100644 --- a/src/atimer.h +++ b/src/atimer.h | |||
| @@ -21,9 +21,13 @@ Boston, MA 02111-1307, USA. */ | |||
| 21 | #ifndef EMACS_ATIMER_H | 21 | #ifndef EMACS_ATIMER_H |
| 22 | #define EMACS_ATIMER_H | 22 | #define EMACS_ATIMER_H |
| 23 | 23 | ||
| 24 | /* Building alloca.o includes us, and we need lisp.h for the P_ macro | 24 | /* Declare the prototype for a general external function. */ |
| 25 | in that case. */ | 25 | #if defined (PROTOTYPES) || defined (WINDOWSNT) |
| 26 | #include "lisp.h" | 26 | #define P_(proto) proto |
| 27 | #else | ||
| 28 | #define P_(proto) () | ||
| 29 | #endif | ||
| 30 | |||
| 27 | #include "systime.h" /* for EMACS_TIME */ | 31 | #include "systime.h" /* for EMACS_TIME */ |
| 28 | 32 | ||
| 29 | /* Forward declaration. */ | 33 | /* Forward declaration. */ |