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