use our syslog.h
authorJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 15:42:38 +0000 (15:42 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 15:42:38 +0000 (15:42 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1307 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/sample/sserver/sserver.c

index 339b2795f70ec6bbea9171c5733935d25590aae6..427d4687ade547ed1f79f54c9c973caea25871e0 100644 (file)
@@ -36,7 +36,7 @@ static char rcsid_sserver_c [] =
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
-#include <syslog.h>
+#include <sys/syslog.h>
 
 #include "sample.h"
 
@@ -61,11 +61,7 @@ char *argv[];
     krb5_init_ets();
     /* open a log connection */
 
-#ifdef ultrix
-    openlog("sserver", 0);
-#else
     openlog("sserver", 0, LOG_DAEMON);
-#endif
 
     if (argc < 2) {
        syslog(LOG_ERR, "needs server argument");