]> git.saurik.com Git - apple/system_cmds.git/blobdiff - passwd.tproj/od_passwd.c
system_cmds-550.6.tar.gz
[apple/system_cmds.git] / passwd.tproj / od_passwd.c
index 16bcf8964eb9485aa8c4c8569c37301fc8d17331..2f113b3094df0056a99328fa1c47ccdb39797149 100644 (file)
 #include <pwd.h>
 #include <sys/sysctl.h>
 
+#include "passwd.h"
+
+#ifdef INFO_OPEN_DIRECTORY
+
 #include <CoreFoundation/CoreFoundation.h>
 #include <OpenDirectory/OpenDirectory.h>
 #include <OpenDirectory/OpenDirectoryPriv.h>
@@ -226,3 +230,5 @@ od_passwd(char* uname, char* locn, char* aname)
 #endif
        return 0;
 }
+
+#endif /* INFO_OPEN_DIRECTORY */