Fix for 686984, ghostscript doesn't build with the Intel C/C++ compiler on x86 or ia64

Alex Cherepanov <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Organization Coscript Software
Message-ID <[email protected]>
Include time.h and sys/time.h on Intel compiler as requested by Duraid
Madina.
Fix bug 686984
time_.h.diff (text/plain, 768 B)
Index: gs/src/time_.h
===================================================================
RCS file: /cvs/ghostscript/gs/src/time_.h,v
retrieving revision 1.6
diff -b -u -r1.6 time_.h
--- gs/src/time_.h	26 Nov 2002 14:38:43 -0000	1.6
+++ gs/src/time_.h	13 Aug 2003 21:12:58 -0000
@@ -36,7 +36,7 @@
  */
 #ifdef HAVE_SYS_TIME_H
 #  include <sys/time.h>
-#  if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) || defined(__GNUC__)
+#  if defined(Plan9) || defined(M_UNIX) || defined(_IBMR2) || defined(_SEQUENT_) || defined(__GNUC__) || defined(__INTEL_COMPILER)
      /* Plan 9, SCO, AIX and Sequent's DYNIX/ptx need both time.h and
         sys/time.h! As of version 2.2, at least some glibc
         installations also require both files. */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.