Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (3h)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-28 08:03:54 UTC Now

2008-08-24 10:04:50 UTC MAIN commitmail json YAML

Don't include <sys/types.h> until after config.h has had a chance to determine
which features will be exposed.  Fixes build on Linux.

<sys/types.h> is included immediately after config.h in the distribution code,
suggesting that the purged hunk in the patch is now obsolete.

The history of patch-aa reveals that the <sys/types.h> include was the very
original purpose of this patch, and predates the Solaris portion of the patch.
The Solaris hunks don't look like they would benefit from including
<sys/types.h>.

No PKGREVISION bump, this change should only affect platforms where the
package failed to build.

Closes PR pkg/36404 with the fix suggested by Ondrej Tuma (thanks!)

(dsainty)