]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-netidmgr-20090617
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 18 Jun 2009 06:04:29 +0000 (06:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 18 Jun 2009 06:04:29 +0000 (06:04 +0000)
LICENSE MIT

permit building with a broader range of visual studio versions

src/WINNT/netidmgr_plugin/afsfuncs.c

index 05018c882a2a9b56002fb92a02c1171b35011662..d8215478b2bdbe7284f0662fb641a7e3e3c183da 100644 (file)
 #pragma warning (push)
 #pragma warning (disable: 4005)
 
-#include<winsock2.h>
 #include<afscred.h>
-#include<afs/cm.h>
 #include<dynimport.h>
 #include<krb5common.h>
+#include<winsock2.h>
+#include<afs/cm.h>
 
 #pragma warning (pop)
 
@@ -1417,7 +1417,7 @@ afs_get_cellconfig(char *cell, afs_conf_cell *cellconfig, char *local_cell)
                                 (void*) cellconfig);
 
     if (linkedCell[0])
-        cellconfig->linkedCell = strdup(linkedCell);
+        cellconfig->linkedCell = _strdup(linkedCell);
 
     return rc;
 }