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

20 lines
480 B
Plaintext

--- ./kodak_generic/kodak_dc240.c.orig Wed Nov 10 18:21:48 1999
+++ ./kodak_generic/kodak_dc240.c Wed Nov 10 18:46:09 1999
@@ -16,12 +16,14 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include "config.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-#ifdef __FreeBSD__
-#include <sys/types.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
#endif
+#include <sys/types.h>
#include <netinet/in.h>
#include "kodak_generic.h"