]> code.delx.au - gnu-emacs/blobdiff - src/systime.h
Fix minor problems found by static checking.
[gnu-emacs] / src / systime.h
index db43b26dc5e53c0190b5d10ce7d5e2c8ceef1470..bed9ed4aa7178374d74d575864d9e37b2af9cc91 100644 (file)
@@ -30,10 +30,12 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #endif
 #endif
 
-#ifdef HAVE_X_WINDOWS
-# include <X11/X.h>
-#else
+#ifdef emacs
+# ifdef HAVE_X_WINDOWS
+#  include <X11/X.h>
+# else
 typedef unsigned long Time;
+# endif
 #endif
 
 #ifdef HAVE_TZNAME