]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: ensure that afsconfig.h and afs/param.h are included
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 14 Jun 2010 18:13:11 +0000 (14:13 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 14 Jun 2010 18:55:00 +0000 (11:55 -0700)
The recent addition of AFS_NORETURN broke the Windows build
because afsconfig.h and afs/param.h were not included everywhere.
Make sure that they are.

Change-Id: I5962fe1178f73273f5b3c1d269b1a125fba2d2c6
Reviewed-on: http://gerrit.openafs.org/2159
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/afsd.h
src/WINNT/afsd/cm_btree.c
src/WINNT/netidmgr_plugin/krb5common.c
src/config/mkvers.c
src/config/util_cr.c
src/ptserver/utils.c

index bed826953d7ac0636462d34be43029616312cd45..f1efa735d80e446fc33f573f5dc74426505e89fd 100644 (file)
@@ -12,6 +12,7 @@
 
 #define USE_BPLUS 1
 
+#include <afsconfig.h>
 #include <afs/param.h>
 
 BOOL InitClass(HANDLE);
index a9329a471fdcdd185438c213177661b12bea0135..a12c4d66e7151bc38935bf41ac0ee19f71134899 100644 (file)
@@ -13,8 +13,8 @@
 #include <windows.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <assert.h>
 #include "afsd.h"
+#include <assert.h>
 #include <strsafe.h>
 
 #ifdef USE_BPLUS
index 4b97a69b353873fb9a9a35052e40b21ec04e4cb4..7fbaa9eef071061312df88e5cdb632dbce27dede 100644 (file)
@@ -24,6 +24,9 @@
 
 /* $Id$ */
 
+#include <afsconfig.h>
+#include <afs/param.h>
+
 #include<windows.h>
 #include<netidmgr.h>
 #include<dynimport.h>
index c0227966a64c904c65c76d80a6ffd9e2c6600ffa..a82014d97b2f0d384b6e4f03d25bf6c9df4735d0 100644 (file)
@@ -12,6 +12,9 @@
  *
  */
 
+#include <afsconfig.h>
+#include <afs/param.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/types.h>
index 2dc0f5f564ee6c8ce13d24320e5ebcc94c04a98c..4f918fd13ff14d0629d9cb2d5708f5de16446b1a 100644 (file)
@@ -9,6 +9,9 @@
 
 */
 
+#include <afsconfig.h>
+#include <afs/param.h>
+
 #undef _CRTDBG_MAP_ALLOC
 #include "stdio.h"
 #include "io.h"
index 91a7e1535a2e99ae8b177fa0b0ff177ada5b5021..6ec4ce50c76fb391a007618482f38a5d3382e6d9 100644 (file)
@@ -7,11 +7,10 @@
  * directory or online at http://www.openafs.org/dl/license10.html
  */
 
-#include <assert.h>
 #include <afsconfig.h>
 #include <afs/param.h>
 
-
+#include <assert.h>
 #include <sys/types.h>
 #include <lock.h>
 #include <ubik.h>