summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 20:54:13 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 20:54:13 +0000
commit7a9ce57163172557d6ba41119a5a3b2837dbbc8e (patch)
tree5914571dad6d19204053b8c03bed77a21f1973fa
parent825b6ae347b3896b8ea38e6021170d45ae3bfd65 (diff)
downloadxorg-proto-x11proto-7a9ce57163172557d6ba41119a5a3b2837dbbc8e.tar.gz
Guard INCLUDE_ALLOCA_H define to end redefinition warnings.
-rw-r--r--Xalloca.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xalloca.h b/Xalloca.h
index 99c218f..67f2671 100644
--- a/Xalloca.h
+++ b/Xalloca.h
@@ -61,8 +61,10 @@ from The Open Group.
#ifndef XALLOCA_H
#define XALLOCA_H 1
-#if defined(__SUNPRO_C) /* Need to add more here to match Imake *.cf's */
-# define INCLUDE_ALLOCA_H
+#ifndef INCLUDE_ALLOCA_H
+# if defined(__SUNPRO_C) /* Need to add more here to match Imake *.cf's */
+# define INCLUDE_ALLOCA_H
+# endif
#endif
#ifdef INCLUDE_ALLOCA_H