Author: cy
Date: Thu Sep 19 14:45:04 2019
New Revision: 352518
URL: https://svnweb.freebsd.org/changeset/base/352518

Log:
  Reduce calls to close(2) at startup through the use of closefrom(2).
  
  Submitted by: pawel.bierna...@gmail.com
  Reviewed by:  mjg, cy
  MFC after:    3 days
  Differential Revision:        https://reviews.freebsd.org/D21715

Modified:
  head/usr.sbin/ntp/libntp/Makefile

Modified: head/usr.sbin/ntp/libntp/Makefile
==============================================================================
--- head/usr.sbin/ntp/libntp/Makefile   Thu Sep 19 14:36:30 2019        
(r352517)
+++ head/usr.sbin/ntp/libntp/Makefile   Thu Sep 19 14:45:04 2019        
(r352518)
@@ -83,7 +83,7 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
        -I${.CURDIR:H} \
        -I${.CURDIR}/
 
-CFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H
+CFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H -DHAVE_CLOSEFROM
 
 CLEANFILES+= .version version.c
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to