summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-15 20:47:28 +0000
committerJim Blandy <jimb@redhat.com>1993-05-15 20:47:28 +0000
commitd712c26dd5c1057a845c162ce61c965ff01ea01d (patch)
tree8e161299b6aed4f35da6685b10bfcbc881518851 /src/systime.h
parent1cc8a3f41a169505f9078ccc4d53dfc87bf598cb (diff)
downloademacs-d712c26dd5c1057a845c162ce61c965ff01ea01d.tar.gz
* systime.h: Borrow CPP sequence from getdate.y to include the
proper combination of <time.h> and <sys/time.h>.
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systime.h b/src/systime.h
index 3f40b12c021..faf5d139956 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -17,12 +17,14 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#ifdef TM_IN_SYS_TIME
+#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
-#else
#include <time.h>
+#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#else
+#include <time.h>
#endif
#endif