summaryrefslogtreecommitdiff
path: root/src/atimer.h
diff options
context:
space:
mode:
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. */