File: missing-includes.patch

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (15 lines) | stat: -rw-r--r-- 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Add missing includes
Author: Bastian Germann <bage@debian.org>
Bug-Debian: https://bugs.debian.org/1075226
---
--- linux86-0.16.17.orig/bcc/dbprintf.c
+++ linux86-0.16.17/bcc/dbprintf.c
@@ -1,6 +1,8 @@
 
 #include <sys/types.h>
 #include <fcntl.h>
+#include <string.h>
+#include <unistd.h>
 
 #if defined(__STDC__) && !defined(__FIRST_ARG_IN_AX__)
 #include <stdarg.h>