Remove compat/utime.h, it was only useful for ancient systems that

are no longer capable of compiling sudo.
This commit is contained in:
Todd C. Miller
2015-03-03 16:57:55 -07:00
parent 1592192cef
commit a7edf7d984
7 changed files with 5 additions and 42 deletions

View File

@@ -535,7 +535,7 @@ ttysize.lo: $(srcdir)/ttysize.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
$(top_builddir)/config.h
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/ttysize.c
utimens.lo: $(srcdir)/utimens.c $(incdir)/compat/timespec.h \
$(incdir)/compat/utime.h $(incdir)/sudo_compat.h \
$(top_builddir)/config.h
utimens.lo: $(srcdir)/utimens.c $(incdir)/compat/stdbool.h \
$(incdir)/compat/timespec.h $(incdir)/sudo_compat.h \
$(incdir)/sudo_util.h $(top_builddir)/config.h
$(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/utimens.c

View File

@@ -29,10 +29,8 @@
#ifndef HAVE_STRUCT_TIMESPEC
# include "compat/timespec.h"
#endif
#ifdef HAVE_UTIME_H
#if !defined(HAVE_UTIMES) || defined(HAVE_FUTIME)
# include <utime.h>
#else
# include "compat/utime.h"
#endif
#include "sudo_compat.h"