summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2018-04-09 21:16:28 +0000
committeremaste <emaste@FreeBSD.org>2018-04-09 21:16:28 +0000
commit17804e5a0cf639f592a69ff3f7c53a597d775aab (patch)
tree0db87fa5b0ae9e0da6278fd02f0ccd20f82ff7e6 /libexec
parenta0cc9d523b3eda32ed4fbe304ed49c3ba955922e (diff)
downloadFreeBSD-src-17804e5a0cf639f592a69ff3f7c53a597d775aab.zip
FreeBSD-src-17804e5a0cf639f592a69ff3f7c53a597d775aab.tar.gz
dmagent: add -D_WITH_GETLINE to fix stable/11 build
The need for _WITH_GETLINE and _WITH_DPRINTF was removed in HEAD in r303524 but is still needed in stable/11 to enable prototypes for these functions.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/dma/dmagent/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/dma/dmagent/Makefile b/libexec/dma/dmagent/Makefile
index 1875177..a573552 100644
--- a/libexec/dma/dmagent/Makefile
+++ b/libexec/dma/dmagent/Makefile
@@ -20,6 +20,7 @@ SRCS= aliases_parse.y \
MAN8= dma.8
CONFS= dma.conf
CONFSDIR= ${CONFDIR}/dma
+CFLAGS+= -D_WITH_GETLINE
YFLAGS+= -i
CLEANFILES= aliases_parse.i
FILES= mailer.conf
OpenPOWER on IntegriCloud