pkgsrc/devel/syncdir/patches/patch-aa
schmonz 8e3a361f72 Initial import of Bruce Guenter's syncdir library. In order to
portably create the shared library, I've libtoolized it (tested on
NetBSD 2.0_BETA and Darwin 7.5.0).

syncdir is a small library that makes the link() system call
synchronous. This is necessary when using qmail with the queue on
a filesystem that doesn't perform link() synchronously, such as
Linux's ext2fs, Reiserfs, SGI's XFS, and BSD FFS with softupdates.
2004-08-15 00:45:50 +00:00

13 lines
295 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2004/08/15 00:45:50 schmonz Exp $
--- syncdir.c.orig 1998-07-13 15:29:57.000000000 -0400
+++ syncdir.c
@@ -25,7 +25,7 @@
#undef open
#include <unistd.h>
#include <string.h>
-#include <syscall.h>
+#include <sys/syscall.h>
#include <stdio.h>
#include <errno.h>