1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/net/rdist7/files/patch-include_defs.h
Cy Schubert 8d98ac3e23 net/rdist7: Add new port
Add new rdist7 port packaging rdist 7.0.0-alpha10.
2024-03-19 20:02:33 -07:00

37 lines
979 B
C

--- include/defs.h.orig 2001-10-22 13:21:36.000000000 -0700
+++ include/defs.h 2024-03-19 16:57:51.903085000 -0700
@@ -53,6 +53,7 @@
#if defined(HAVE_STDLIB_H)
# include <stdlib.h>
#endif
+#include <libgen.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
@@ -333,7 +334,6 @@
extern void complain();
extern void docmds();
extern void finish();
-extern void log();
extern void logmsg();
extern void lostconn();
extern void markassigned();
@@ -342,7 +342,6 @@
extern void runcmdspecial();
extern void runcommand();
extern void server();
-extern void setprogname();
extern void sighandler();
extern void waitup();
struct namelist *expand();
@@ -355,7 +354,9 @@
extern void error(char *, ...);
extern void fatalerr(char *, ...);
extern void message(int, char *, ...);
+#ifndef HAVE_SETPROCTITLE
extern void setproctitle(const char *fmt, ...);
+#endif
#else
extern void debugmsg();
extern void error();