aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-15 20:47:28 +0000
committerJim Blandy1993-05-15 20:47:28 +0000
commitd712c26dd5c1057a845c162ce61c965ff01ea01d (patch)
tree8e161299b6aed4f35da6685b10bfcbc881518851 /src
parent1cc8a3f41a169505f9078ccc4d53dfc87bf598cb (diff)
downloademacs-d712c26dd5c1057a845c162ce61c965ff01ea01d.tar.gz
emacs-d712c26dd5c1057a845c162ce61c965ff01ea01d.zip
* systime.h: Borrow CPP sequence from getdate.y to include the
proper combination of <time.h> and <sys/time.h>.
Diffstat (limited to 'src')
-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
17along with GNU Emacs; see the file COPYING. If not, write to 17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 19
20#ifdef TM_IN_SYS_TIME 20#ifdef TIME_WITH_SYS_TIME
21#include <sys/time.h> 21#include <sys/time.h>
22#else
23#include <time.h> 22#include <time.h>
23#else
24#ifdef HAVE_SYS_TIME_H 24#ifdef HAVE_SYS_TIME_H
25#include <sys/time.h> 25#include <sys/time.h>
26#else
27#include <time.h>
26#endif 28#endif
27#endif 29#endif
28 30