Fix build on Solaris

This commit is contained in:
Michael Spang 2008-03-29 08:12:20 -04:00
parent a4447e38bb
commit eeff9868d4
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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 *, ...);