Start clean up of lock/pklock dependencies.

This commit is contained in:
Renaud 2013-05-28 17:21:40 +08:00
parent e1cb42e0aa
commit 04264b4d27
3 changed files with 8 additions and 5 deletions

View File

@ -20,6 +20,7 @@
#include "estruct.h"
#include "edef.h"
#include "line.h"
#include "termio.h"
#include "version.h"
#include "wrapper.h"
#include "utf8.h"

View File

@ -17,11 +17,6 @@
#if BSD | SVR4
/* lock.c */
#include "lock.h"
#if (FILOCK && BSD) || SVR4
/* pklock.c */
#include "pklock.h"
#endif
#endif
#endif

7
lock.c
View File

@ -8,9 +8,16 @@
*/
#include <stdio.h>
#include "display.h"
#include "estruct.h"
#include "edef.h"
#include "efunc.h"
#include "input.h"
#if (FILOCK && BSD) || SVR4
#include "pklock.h"
#endif
#if BSD | SVR4
#include <sys/errno.h>