#include <afs/param.h>
#include <afs/stds.h>
+#include <errno.h>
#include "Internal.h"
#include "org_openafs_jafs_ACL.h"
#define ACL_LEN 1024
-extern int errno;
+#ifndef ERROR_H
+#define ERROR_H
+#endif
+
+extern int error_intr;
+extern int error_nomem;
/**
* Returns a formatted string representing the ACL for the specified path.
#include "Internal.h"
#include "org_openafs_jafs_FileInputStream.h"
+#include <errno.h>
#include <fcntl.h>
#include "dmalloc.h"
#endif
-extern int errno;
-
/**
* Be carefull with the memory management:
*
*/
#include "Internal.h"
+#include <errno.h>
#ifdef DMALLOC
#include "dmalloc.h"
#endif
-extern int errno;
-
#ifndef LIBJUAFS
// user class and fields //
jclass userCls = 0;