  #include <unistd.h>
  
  #include "selfdrive/common/util.h"
  
  // We assume that all pins have already been exported on boot,
  // and that we have permission to write to them.
  
  int gpio_init(int pin_nr, bool output){
 
</s> remove #include <stdio.h>
#include <stdlib.h>
#include <string.h>
 </s> add  </s> remove #define FRAME_WIDTH  1928
#define FRAME_HEIGHT 1208
 </s> add  </s> remove #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <time.h>
 </s> add 
#include <cstring>

  #include <unistd.h>
  
#include <cstring>

  #include "selfdrive/common/util.h"
  
  // We assume that all pins have already been exported on boot,
  // and that we have permission to write to them.
  
  int gpio_init(int pin_nr, bool output){
keep add keep keep keep keep keep keep
 Use C++ header files instead of C header files. (#21192)

* use cstring instead of string.h

* use cstdio instead of stdio.h

* remove inttypes.h

* use cstdlib instead of stdlib.h

* use cstdint instead of stdint.h

* #include <cstddef>

* cstdlib

* use cmath

* remove stddef.h

* use cassert

* use csignal

* use ctime

* use cerror

* rebase master 
selfdrive/common/gpio.cc