openbsd-ports/graphics/gphoto/patches/patch-ao

26 lines
478 B
Plaintext

--- ./photopc/eph_io.c.orig Wed Nov 10 18:26:19 1999
+++ ./photopc/eph_io.c Wed Nov 10 18:48:10 1999
@@ -67,9 +67,13 @@
*/
+#include "config.h"
#include "eph_io.h"
#include "eph_priv.h"
#include <sys/types.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef UNIX
#include <time.h>
#include <unistd.h>
@@ -91,7 +95,7 @@
#define ERRNO errno
#endif
-#ifdef __FreeBSD__ /* by fujisawa */
+#ifdef BSD /* by fujisawa */
#undef HAVE_NANOSLEEP
#endif