* Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).

* Switch to autoconf from genconfig.sh.
This commit is contained in:
Justin Maggard
2011-09-16 23:39:58 +00:00
parent 715af3519b
commit 773e1f6566
40 changed files with 1952 additions and 533 deletions

View File

@ -16,6 +16,8 @@
* along with MiniDLNA. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#ifdef HAVE_INOTIFY
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@ -216,8 +218,7 @@ inotify_remove_watches(int fd)
{
last_w = w;
inotify_rm_watch(fd, w->wd);
if( w->path )
free(w->path);
free(w->path);
rm_watches++;
w = w->next;
free(last_w);
@ -729,3 +730,4 @@ quitting:
return 0;
}
#endif