[OpenAFS-devel] glibc-2.16 support

Andrej Filipcic andrej.filipcic@ijs.si
Tue, 25 Sep 2012 08:55:25 +0200


Hi,

the glibc 2.16 requires this change:

diff --git a/src/afsd/afsd_kernel.c b/src/afsd/afsd_kernel.c
index 1f7fdbb..c21e3e2 100644
--- a/src/afsd/afsd_kernel.c
+++ b/src/afsd/afsd_kernel.c
@@ -73,6 +73,10 @@
  #include <sys/fstyp.h>
  #endif
  
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+
  #ifdef HAVE_UNISTD_H
  #include <unistd.h>
  #endif

I have seen the <sys/resource.h> included in the HEAD, but not in 
openafs-stable-1_6_x branch. Can it be committed there as well?

Thanks

Andrej

-- 
_____________________________________________________________
    prof. dr. Andrej Filipcic,   E-mail: Andrej.Filipcic@ijs.si
    Department of Experimental High Energy Physics - F9
    Jozef Stefan Institute, Jamova 39, P.o.Box 3000
    SI-1001 Ljubljana, Slovenia
    Tel.: +386-1-477-3674    Fax: +386-1-477-3166
-------------------------------------------------------------