Skip to content

Commit

Permalink
add some includes
Browse files Browse the repository at this point in the history
maybe needed for newer GCCs
  • Loading branch information
lyonel committed Oct 12, 2021
1 parent 5a0bad9 commit 9d9b710
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/cdrom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <unistd.h>
#include <limits.h>
#include <linux/cdrom.h>
#include <climits>

__ID("@(#) $Id$");

Expand Down
1 change: 1 addition & 0 deletions src/core/cpuid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
1 change: 1 addition & 0 deletions src/core/fb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
1 change: 1 addition & 0 deletions src/core/ideraid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <string.h>
#include <dirent.h>
#include <ctype.h>
#include <cstring>
#include <vector>
#include <linux/hdreg.h>
#include <regex.h>
Expand Down
2 changes: 1 addition & 1 deletion src/core/mounts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <cstdlib>

__ID("@(#) $Id$");

Expand Down
1 change: 1 addition & 0 deletions src/core/osutils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <sstream>
#include <iomanip>
#include <stack>
#include <cstring>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
Expand Down
2 changes: 2 additions & 0 deletions src/core/partitions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include "volumes.h"
#include "osutils.h"
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/pci.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <string.h>
#include <stdlib.h>
#include <dirent.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
1 change: 1 addition & 0 deletions src/core/pcmcia-legacy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
2 changes: 2 additions & 0 deletions src/core/pcmcia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cstdlib>
#include <cstring>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/smp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <cstring>

#include "osutils.h"

Expand Down
1 change: 1 addition & 0 deletions src/core/spd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <string>
#include <dirent.h>
#include <stdio.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
2 changes: 2 additions & 0 deletions src/core/usb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "heuristics.h"
#include "options.h"
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <sys/types.h>
#include <sys/stat.h>
Expand All @@ -24,6 +25,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
#include <cstring>

#define PROCBUSUSBDEVICES "/proc/bus/usb/devices"
#define SYSKERNELDEBUGUSBDEVICES "/sys/kernel/debug/usb/devices"
Expand Down
1 change: 1 addition & 0 deletions src/core/volumes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <unistd.h>
#include <stdint.h>
#include <time.h>
#include <cstring>

__ID("@(#) $Id$");

Expand Down
2 changes: 2 additions & 0 deletions src/gui/engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "osutils.h"
#include "options.h"

#include <cstring>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sys/utsname.h>
Expand Down
1 change: 1 addition & 0 deletions src/gui/print-gui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "version.h"
#include "osutils.h"
#include "stock.h"
#include <cstring>
#include <sstream>
#include <iomanip>
#include <unistd.h>
Expand Down

0 comments on commit 9d9b710

Please sign in to comment.