Remove compat/utime.h, it was only useful for ancient systems that
are no longer capable of compiling sudo.
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user