瀏覽代碼

fix building under FreeBSD 4

Ralf S. Engelschall 20 年之前
父節點
當前提交
3a00e0a59b
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. 5 2
      openldap/openldap.patch
  2. 1 1
      openldap/openldap.spec

+ 5 - 2
openldap/openldap.patch

@@ -23,11 +23,14 @@ Index: servers/slapd/slapd.conf
 +
 Index: include/ac/fdset.h
 --- include/ac/fdset.h.orig	2005-01-20 19:03:49 +0100
-+++ include/ac/fdset.h	2005-06-25 12:29:21 +0200
-@@ -22,6 +22,10 @@
++++ include/ac/fdset.h	2005-10-07 10:07:52 +0200
+@@ -22,6 +22,13 @@
  #ifndef _AC_FDSET_H
  #define _AC_FDSET_H
  
++#if defined(HAVE_SYS_TYPES_H)
++#include <sys/types.h>
++#endif
 +#if defined(HAVE_SYS_SELECT_H)
 +#include <sys/select.h>
 +#endif

+ 1 - 1
openldap/openldap.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      2.3.8
-Release:      20051006
+Release:      20051007
 
 #   package options
 %option       with_fsl   yes