Don't need to include XDR headers in <guestfs.h>.
[libguestfs.git] / generator / generator_c.ml
index caf73c3..0194e0c 100644 (file)
@@ -360,10 +360,9 @@ and generate_guestfs_h () =
 extern \"C\" {
 #endif
 
 extern \"C\" {
 #endif
 
+#include <stddef.h>
 #include <stdint.h>
 #include <stdarg.h>
 #include <stdint.h>
 #include <stdarg.h>
-#include <rpc/types.h>
-#include <rpc/xdr.h>
 
 /* The handle. */
 #ifndef GUESTFS_TYPEDEF_H
 
 /* The handle. */
 #ifndef GUESTFS_TYPEDEF_H