summaryrefslogtreecommitdiff
path: root/src/atimer.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-09-19 14:36:22 +0000
committerRichard M. Stallman <rms@gnu.org>2003-09-19 14:36:22 +0000
commit82377c38bb108e6edbb2e5db95060deb7c15d28c (patch)
treefe77fe6cec675e298c1b34a19360ac721a6bb19e /src/atimer.h
parentdd418e06cf79dc99d91a7209599b9d691011b1b1 (diff)
downloademacs-82377c38bb108e6edbb2e5db95060deb7c15d28c.tar.gz
Don't include lisp.h.
(P_): Define it here (as well as elsewhere).
Diffstat (limited to 'src/atimer.h')
-rw-r--r--src/atimer.h10
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. */
#ifndef EMACS_ATIMER_H
#define EMACS_ATIMER_H
-/* Building alloca.o includes us, and we need lisp.h for the P_ macro
- in that case. */
-#include "lisp.h"
+/* Declare the prototype for a general external function. */
+#if defined (PROTOTYPES) || defined (WINDOWSNT)
+#define P_(proto) proto
+#else
+#define P_(proto) ()
+#endif
+
#include "systime.h" /* for EMACS_TIME */
/* Forward declaration. */