85dafff403
Here's how the fileschanged FAM client works: you give it some filenames on the command line and then it monitors those files for changes. When it discovers that a file has changed (or has been altered), it displays the filename on the standard-output. PR: ports/66894 Submitted by: Konstantin Reznichenko <kot@premierbank.dp.ua>
12 lines
295 B
C
12 lines
295 B
C
--- src/monitor.c.orig Mon Feb 23 02:17:30 2004
|
|
+++ src/monitor.c Wed May 19 18:30:54 2004
|
|
@@ -2,7 +2,9 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
+#if !defined(__FreeBSD__)
|
|
#include <sys/select.h>
|
|
+#endif
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <time.h>
|