summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-22 21:07:56 +0000
committerbapt <bapt@FreeBSD.org>2014-04-22 21:07:56 +0000
commit418b7ad78192cd30c84465a025da93f4d87a8491 (patch)
treeb8e95713e7e891b08120725dd19698aa19930f2a /usr.sbin/pw/pw.h
parent2e449e52b69a0f57875093392745a12d55c01a1e (diff)
downloadFreeBSD-src-418b7ad78192cd30c84465a025da93f4d87a8491.zip
FreeBSD-src-418b7ad78192cd30c84465a025da93f4d87a8491.tar.gz
Simplify reading pw.conf(5) by using getline(3)
Diffstat (limited to 'usr.sbin/pw/pw.h')
-rw-r--r--usr.sbin/pw/pw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h
index 1ff69a6..a1ed0c4 100644
--- a/usr.sbin/pw/pw.h
+++ b/usr.sbin/pw/pw.h
@@ -26,6 +26,7 @@
* $FreeBSD$
*/
+#define _WITH_GETLINE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud