Skip to content

Commit

Permalink
align meson include definitions with 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed May 26, 2024
1 parent ed09fb9 commit 259d384
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -76,30 +76,27 @@ uamdir = '-D_PATH_AFPDUAMPATH="' + libdir + '/netatalk/"'
# Includes #
############

root_includes = include_directories(
'.',
'include',
'etc/afpd',
)

if host_os in ['dragonfly', 'freebsd', 'openbsd']
root_includes = include_directories(
'.',
'include',
'sys',
'etc/afpd',
'/usr/local/include',
)
elif host_os == 'netbsd'
root_includes = include_directories(
'.',
'include',
'sys',
'etc/afpd',
'/usr/pkg/include',
)
elif host_os == 'omnios'
root_includes = include_directories(
'.',
'include',
'sys',
'etc/afpd',
'/opt/local/include',
)
Expand All @@ -108,6 +105,7 @@ else
'.',
'include',
'etc/afpd',
'sys',
)
endif

Expand Down Expand Up @@ -199,6 +197,7 @@ check_headers = [
'pam/pam_appl.h',
'rpc/pmap/prot.h',
'rpc/rpc.h',
'rpcsvc/rquota.h',
'security/pam_appl.h',
'sgtty.h',
'statfs.h',
Expand Down

0 comments on commit 259d384

Please sign in to comment.