allow "struct TDB_DATA" as well as just "TDB_DATA"
[samba.git] / source / lib / tdb / tdb.h
index 169de5f87d548c42b9f421cc84a0bbbebf461ba2..281925068c8a93c5ed0b9658299c46d637830659 100644 (file)
@@ -57,7 +57,7 @@ enum TDB_ERROR {TDB_SUCCESS=0, TDB_ERR_CORRUPT, TDB_ERR_IO, TDB_ERR_LOCK,
 #define u32 unsigned
 #endif
 
-typedef struct {
+typedef struct TDB_DATA {
        char *dptr;
        size_t dsize;
 } TDB_DATA;