mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
e8691a5cc2
for directory changes. This cuts CPU usage from 100% down to about 0.1% as well as improving the reliability of change monitoring.
31 lines
642 B
Plaintext
31 lines
642 B
Plaintext
--- check_tmp.h.orig Thu Dec 24 07:40:13 1998
|
|
+++ check_tmp.h Tue Apr 25 00:29:52 2000
|
|
@@ -1,16 +1,22 @@
|
|
#ifndef __CHECK_TMP_H
|
|
#define __CHECK_TMP_H
|
|
|
|
-#include <stdlib.h>
|
|
-#include <stdio.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/mman.h>
|
|
#include <sys/stat.h>
|
|
+#include <sys/param.h>
|
|
#include <dirent.h>
|
|
-#include <pwd.h>
|
|
-#include <grp.h>
|
|
#include <fcntl.h>
|
|
-#include <sys/mman.h>
|
|
+#include <grp.h>
|
|
+#include <pwd.h>
|
|
+#include <stdlib.h>
|
|
+#include <stdio.h>
|
|
#include <unistd.h>
|
|
+#if __FreeBSD_version >= 500001
|
|
+#include <sys/event.h>
|
|
+#include <sys/time.h>
|
|
+#include <err.h>
|
|
+#endif
|
|
|
|
#if defined (REGEXPR_3G)
|
|
#include <regexpr.h>
|