Code cleanup for OpenBSD
This commit is contained in:
parent
1910fda555
commit
0a8f7e6476
@ -59,6 +59,10 @@
|
|||||||
#include <userconf.h>
|
#include <userconf.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__OpenBSD__)
|
||||||
|
#include <sys/sysctl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "encrypt.h"
|
#include "encrypt.h"
|
||||||
#include "rad64.h"
|
#include "rad64.h"
|
||||||
#include "myname.h"
|
#include "myname.h"
|
||||||
@ -843,7 +847,6 @@ int main(int argc, char *argv[])
|
|||||||
#ifdef _VPOPMAIL_PATH
|
#ifdef _VPOPMAIL_PATH
|
||||||
char *args[16];
|
char *args[16];
|
||||||
#endif
|
#endif
|
||||||
char temp[PATH_MAX];
|
|
||||||
pid_t ppid;
|
pid_t ppid;
|
||||||
char *parent;
|
char *parent;
|
||||||
#if defined(__OpenBSD__)
|
#if defined(__OpenBSD__)
|
||||||
@ -853,6 +856,7 @@ int main(int argc, char *argv[])
|
|||||||
char **p;
|
char **p;
|
||||||
int mib[4];
|
int mib[4];
|
||||||
#else
|
#else
|
||||||
|
char temp[PATH_MAX];
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user