# include <stdarg.h>
#endif
-#ifdef HAVE_SYS_LOCKING_H
-# include <sys/locking.h>
-#endif
-
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
# define FR_DIR_IS_RELATIVE(p) ((*p) != '/')
#endif
-#ifdef HAVE_SYS_LOCKING_H
-# define lockf _locking
-# define F_ULOCK _LK_UNLCK /* Unlock locked sections. */
-# define F_LOCK _LK_LOCK /* Lock a section for exclusive use. */
-# define F_TLOCK _LK_NBLCK /* Test and lock a section for exclusive use */
-# define F_TEST _LK_RLCK /* Test section for locks by other processes. */
-#endif
-
#ifndef offsetof
# define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif