diff options
author | marcel <marcel@FreeBSD.org> | 2012-05-19 02:30:10 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2012-05-19 02:30:10 +0000 |
commit | ccfabcd15d481bc02460de59e35d774199d1ae06 (patch) | |
tree | 567361d6b6fcb0b4cd40b8e90964d2cb6c23bb1e /lib/libmagic/config.h | |
parent | e4f9a6f0da4df0b63da52d22e014fb479e7cb692 (diff) | |
download | FreeBSD-src-ccfabcd15d481bc02460de59e35d774199d1ae06.zip FreeBSD-src-ccfabcd15d481bc02460de59e35d774199d1ae06.tar.gz |
Don't depend on getline being on the build machine. That's
not the case for FreeBSD 7.x machines.
Diffstat (limited to 'lib/libmagic/config.h')
-rw-r--r-- | lib/libmagic/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h index c7e38ec..c17883f 100644 --- a/lib/libmagic/config.h +++ b/lib/libmagic/config.h @@ -39,7 +39,9 @@ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `getline' function. */ +#ifndef HOSTPROG #define HAVE_GETLINE 1 +#endif /* Define to 1 if you have the <getopt.h> header file. */ #define HAVE_GETOPT_H 1 |