about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-05T12·49+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-05T12·49+0100
commit6298afc0478222eb0d5e57eaafe46965a1df7ca3 (patch)
treec789fe66b6f4a1363bd23316f9a0b1a3d3266342 /configure.ac
parent36b9ce24b11a87b3e71f4f4fec9f3e5ad6af7b95 (diff)
parent69b9d8fdbd4d428515c15cf47c2ed2324f7aa021 (diff)
Merge pull request #685 from vizanto/master
POSIX compliant directory access (fixes build on Solaris)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index df92950ff0cc..3a24053bb6a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,7 @@ test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var
 
 
 # Solaris-specific stuff.
+AC_STRUCT_DIRENT_D_TYPE
 if test "$sys_name" = sunos; then
     # Solaris requires -lsocket -lnsl for network functions
     LIBS="-lsocket -lnsl $LIBS"