Fix build on Solaris
This commit is contained in:
parent
a4447e38bb
commit
eeff9868d4
|
@ -2,7 +2,7 @@ CFLAGS ?= -ggdb -Wall -O2
|
|||
CFLAGS += -I../include
|
||||
|
||||
LIBCEO_OBJECTS := util.o common.o config.o parser.o ldap.o krb5.o kadm.o addhomedir.o
|
||||
LIBCEO_LDFLAGS := -lacl -lldap $(shell krb5-config --libs krb5 kadm-client)
|
||||
LIBCEO_LDFLAGS := -lldap $(shell krb5-config --libs krb5 kadm-client)
|
||||
|
||||
DESTDIR :=
|
||||
PREFIX := /usr/local
|
||||
|
|
|
@ -3,9 +3,11 @@
|
|||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#include <sasl/sasl.h>
|
||||
#include <ldap.h>
|
||||
#include <krb5.h>
|
||||
|
||||
#define LDAP_DEPRECATED 1
|
||||
#include <ldap.h>
|
||||
|
||||
#include "ldap.h"
|
||||
#include "krb5.h"
|
||||
#include "config.h"
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
#define NORETURN
|
||||
#endif
|
||||
|
||||
#ifndef LOG_AUTHPRIV
|
||||
#define LOG_AUTHPRIV LOG_AUTH
|
||||
#endif
|
||||
|
||||
int spawnv(const char *, char *[]);
|
||||
|
||||
NORETURN void fatal(const char *, ...);
|
||||
|
|
Loading…
Reference in New Issue