about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorDanny Wilson <danny@prime.vc>2015-11-07T03·51+0100
committerDanny Wilson <danny@prime.vc>2015-11-07T03·51+0100
commitcdb346c65eeb9f976cf3db21b3cb2f7d8837cf6b (patch)
tree386245c3d4acca4bbc88c805a1db25953c9eba2a /configure.ac
parent5bc12454fd0ca07c26de197daaf0b52188d517b5 (diff)
Fix build on Solaris
d_type is not part of the POSIX spec unfortunately.
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 88e64573da..bade079b3b 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"