mapson.patch 477 B

123456789101112
  1. --- libgetopt/getopt.h.orig Fri Feb 8 16:40:49 2002
  2. +++ libgetopt/getopt.h Fri Feb 8 16:41:15 2002
  3. @@ -138,7 +138,7 @@
  4. `getopt'. */
  5. #if (defined __STDC__ && __STDC__) || defined __cplusplus
  6. -# ifdef __GNU_LIBRARY__
  7. +# if defined(__GNU_LIBRARY__) || defined(__FreeBSD__)
  8. /* Many other libraries have conflicting prototypes for getopt, with
  9. differences in the consts, in stdlib.h. To avoid compilation
  10. errors, only prototype getopt for the GNU C library. */