[Midnightbsd-cvs] src [8016] trunk/lib/libmagic/config.h: fix issues compiling on older releases

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 15 05:04:43 EDT 2016


Revision: 8016
          http://svnweb.midnightbsd.org/src/?rev=8016
Author:   laffer1
Date:     2016-09-15 05:04:42 -0400 (Thu, 15 Sep 2016)
Log Message:
-----------
fix issues compiling on older releases

Modified Paths:
--------------
    trunk/lib/libmagic/config.h

Modified: trunk/lib/libmagic/config.h
===================================================================
--- trunk/lib/libmagic/config.h	2016-09-15 09:03:57 UTC (rev 8015)
+++ trunk/lib/libmagic/config.h	2016-09-15 09:04:42 UTC (rev 8016)
@@ -49,7 +49,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



More information about the Midnightbsd-cvs mailing list