1 diff --git a/unistd.in.h b/unistd.in.h
2 index b82be83..9df3f13 100644
7 /* Get getopt(), optarg, optind, opterr, optopt.
8 But avoid namespace pollution on glibc systems. */
9 -#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
10 +/* Also, don't include <getopt.h> inside libgettextpo, because we use
11 + the getopt module only in gettext-tools/gnulib-lib/, not in
12 + gettext-tools/libgettextpo/, but there is only a single
13 + GNULIB_UNISTD_H_GETOPT variable for both. */
14 +#if @GNULIB_UNISTD_H_GETOPT@ && !defined GTPO_CONFIG_H && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
15 # define __need_getopt